6 # first run ./generate_random 8
9 STARTTS="`date --iso-8601=minutes`"
10 mkdir -p stats/raw/${STARTTS}
11 EXPO="$(seq 1000 1000 10000) $(seq 10000 10000 100000)"
12 PARTS="1 2 4 5 10 20 25 50 100"
13 let maxfoo=`expr 10**8`
18 echo "#define LISTSIZEA ${num}" >> numlist.h
19 echo "#define LISTSIZEB ${num}" >> numlist.h
20 echo "extern int a[${maxfoo}];" >> numlist.h
21 echo "extern int b[${maxfoo}];" >> numlist.h
26 ./sort -t $i | sed "s/took \([0-9]*\.[0-9]*\) seconds\./${i};\1/" | tee -a stats/raw/$STARTTS/$STATFILE.$num.dat