7 test ${#toclean[@]} -gt 0 && rm -f "${toclean[@]}"
18 grep -e "$RE" alldata > $tmpA
20 for type in {I,R}{1,N}; do
21 for ratio in 10:1 1:1 1:10; do
22 for platf in cluster grid; do
23 for topo in line torus hcube; do
25 -v re="^results_${type}_${ratio}/plat_${platf}[0-9]+/topo_${topo}" \
31 size=substr(platf, match(platf, "[0-9]"));
36 print algo, size, idle, conv_avg, conv_max;
39 | sort -k1,1r -k2,2n \
45 } else if ($1 != prev) {
46 printf("\n\n%s\n", $1);
54 if [ ! -s $tmpB ]; then
57 title="results_${type}_${ratio}/plat_${platf}/topo_${topo}"
58 echo "===[ $title ]==="
59 nb=$(expr $(grep -c ^algo $tmpB) - 1)
63 -e "set title '$title'" \
65 for [i=0:$nb] '$tmpB' index i using 1:4 with linespoint ls i+1 title column(1)" \
68 ### all idle avg; conv avg; conv max
70 -e "set title '$title'" \
72 for [i=0:$nb] '$tmpB' index i using 1:4 with linespoint ls i+1 title column(1),
73 for [i=0:$nb] '$tmpB' index i using 1:3 with linespoint ls i+1 notitle,
74 for [i=0:$nb] '$tmpB' index i using 1:2 with linespoint ls i+1 notitle" \