Intermediate parsing.sh (1)

This commit is contained in:
Thomas Preud'homme 2009-07-08 18:58:18 +02:00 committed by Thomas Preud'homme
parent 19ef1d98f2
commit 69417b1cfa
1 changed files with 14 additions and 4 deletions

View File

@ -23,6 +23,10 @@ for prod in $prodList ; do
for bench in "communication" "barriere" ; do
for metrique in $metriqueList ; do
> bench_$bench-prod_$prod-$metrique.dat
for file in cache_$cache-*-typeProd_$prod-*-${com}_comm.log ; do
argTypeProd=`echo "$file" | sed -r "s/.*argTypeProd_([[:digit:]]+).*/\1/"`
echo -ne "\t\t$argTypeProd" >> bench_$bench-prod_$prod-$metrique.dat
done
done
for com in `eval echo \\\$\${bench}List` ; do
for metrique in $metriqueList ; do
@ -44,6 +48,12 @@ for prod in $prodList ; do
done
done
if [ "${bench}" = "barriere" ] ;
then
echo "set style data lines" >> multicores.gnuplot
else
echo "set style data histogram" >> multicores.gnuplot
fi
for metrique in $metriqueList ; do
case "$metrique" in
cache_hits) ylabel="Nb cache hit" ;;