3 res_root="../../cd/resultados"
5 stats="../../dgcbench/stats.py"
7 progs="bigarr conalloc concpu mcore rnddata sbtree split"
8 progs="$progs bh bisort em3d tsp voronoi dil"
10 cdgc_opts="cdgc-conservative=0:fork=1:early_collect=1:eager_alloc=1"
13 [basic]="cdgc-conservative=1:fork=0:early_collect=0:eager_alloc=0"
17 declare -A time_opts=(
25 [mem]='($5+$6+$7+$8)/1024/1024'
33 for f in "$res_root/raw-collect/collect-$prog-$opts-4cpu-"*.csv
43 for f in "$res_root/raw-collect/collect-$prog-$opts-4cpu-"*.csv
45 $stats "$exp" '%(max)s' < $f
56 for val in stw pause mem ncol
60 dst="raw-hist-$val-$prog.csv"
65 echo -n "$gc," >> $dst
66 ${funcs[$val]} $val $prog $gc | $stats >> $dst
74 dst="raw-hist-time-$prog.csv"
79 opts="${time_opts[$gc]}"
80 src="$res_root/raw-timemem/timemem-$prog-$opts-4cpu.csv"
81 echo -n "$gc," >> $dst
82 $stats < "$src" >> $dst