commtechs: Add bench_ before bench name

This commit is contained in:
Thomas Preud'homme 2009-07-08 18:42:51 +02:00 committed by Thomas Preud'homme
parent d38f9150b2
commit 19ef1d98f2
1 changed files with 12 additions and 12 deletions

View File

@ -22,24 +22,24 @@ echo "set terminal postscript landscape color" >> multicores.gnuplot
for prod in $prodList ; do
for bench in "communication" "barriere" ; do
for metrique in $metriqueList ; do
> $bench-prod_$prod-$metrique.dat
> bench_$bench-prod_$prod-$metrique.dat
done
for com in `eval echo \\\$\${bench}List` ; do
for metrique in $metriqueList ; do
echo -ne "\n$com\t\t" >> $bench-prod_$prod-$metrique.dat
echo -ne "\n$com\t\t" >> bench_$bench-prod_$prod-$metrique.dat
done
for cache in $cacheList ; do
for value in `perl -n -e 'print "$1 $2 $3" if /cache hits.* (\d+) \/ (\S+) \/ (\S+)/' cache_$cache-*-typeProd_$prod-*-${com}_comm.log` ; do
echo -ne "\t$value " >> $bench-prod_$prod-cache_hits.dat
echo -ne "\t$value " >> bench_$bench-prod_$prod-cache_hits.dat
done
for value in `perl -n -e 'print "$1 $2 $3" if /cache miss.* (\d+) \/ (\S+) \/ (\S+)/' cache_$cache-*-typeProd_$prod-*-${com}_comm.log` ; do
echo -ne "\t$value" >> $bench-prod_$prod-cache_miss.dat
echo -ne "\t$value" >> bench_$bench-prod_$prod-cache_miss.dat
done
for value in `perl -n -e 'print "$1 $2 $3" if /cycles.* (\d+) \/ (\S+) \/ (\S+)/' cache_$cache-*-typeProd_$prod-*-${com}_comm.log` ; do
echo -ne "\t$value" >> $bench-prod_$prod-cycles.dat
echo -ne "\t$value" >> bench_$bench-prod_$prod-cycles.dat
done
for value in `perl -n -e 'print "$1 $2 $3" if /total_time.* (\S+) \/ (\S+) \/ (\S+)/' cache_$cache-*-typeProd_$prod-*-${com}_comm.log` ; do
echo -ne "\t$value" >> $bench-prod_$prod-total_time.dat
echo -ne "\t$value" >> bench_$bench-prod_$prod-total_time.dat
done
done
@ -59,14 +59,14 @@ for prod in $prodList ; do
|| echo "set yrange [*:*]" >> multicores.gnuplot
echo "set title \"Producteur : $prod\"" >> multicores.gnuplot
echo "set ylabel \"$ylabel\"" >> multicores.gnuplot
echo "set output '$bench-prod_$prod-$metrique-total-$yscale.ps'" >> multicores.gnuplot
echo "plot '$bench-prod_$prod-$metrique.dat' using 2:xtic(1) ti 'L2', '' u 5 ti 'MEM'" >> multicores.gnuplot
echo "set output 'bench_$bench-prod_$prod-$metrique-total-$yscale.ps'" >> multicores.gnuplot
echo "plot 'bench_$bench-prod_$prod-$metrique.dat' using 2:xtic(1) ti 'L2', '' u 5 ti 'MEM'" >> multicores.gnuplot
echo "set ylabel \"$ylabel par boucle\"" >> multicores.gnuplot
echo "set output '$bench-prod_$prod-$metrique-byLoop-$yscale.ps'" >> multicores.gnuplot
echo "plot '$bench-prod_$prod-$metrique.dat' using 3:xtic(1) ti 'L2', '' u 6 ti 'MEM'" >> multicores.gnuplot
echo "set output 'bench_$bench-prod_$prod-$metrique-byLoop-$yscale.ps'" >> multicores.gnuplot
echo "plot 'bench_$bench-prod_$prod-$metrique.dat' using 3:xtic(1) ti 'L2', '' u 6 ti 'MEM'" >> multicores.gnuplot
echo "set ylabel \"$ylabel par ecriture\"" >> multicores.gnuplot
echo "set output '$bench-prod_$prod-$metrique-byWrite-$yscale.ps'" >> multicores.gnuplot
echo "plot '$bench-prod_$prod-$metrique.dat' using 4:xtic(1) ti 'L2', '' u 7 ti 'MEM'" >> multicores.gnuplot
echo "set output 'bench_$bench-prod_$prod-$metrique-byWrite-$yscale.ps'" >> multicores.gnuplot
echo "plot 'bench_$bench-prod_$prod-$metrique.dat' using 4:xtic(1) ti 'L2', '' u 7 ti 'MEM'" >> multicores.gnuplot
done
done
done