commtechs bench: Print time information

This commit is contained in:
Thomas Preud'homme 2009-06-23 14:46:00 +02:00 committed by Thomas Preud'homme
parent 924a64c317
commit 934790a6d9
2 changed files with 13 additions and 5 deletions

View File

@ -26,11 +26,19 @@ for prod in $prodList ; do
echo -ne "\n$com\t\t" >> prod_$prod-$metrique.dat
done
for cache in $cacheList ; do
for metrique in $metriqueList ; do
for value in `perl -n -e "print '$1 $2 $3' if /${metrique}.* (\\d+) \\/ (\\d+) \\/ (\\d+)/" cache_$cache-*-typeProd_$prod-*-${com}_comm.log` ; do
echo -ne "\t$value " >> prod_$prod-${metrique}.dat
done
for value in `perl -n -e 'print "$1 $2 $3" if /cache hits.* (\d+) \/ (\d+) \/ (\d+)/' cache_$cache-*-typeProd_$prod-*-${com}_comm.log` ; do
echo -ne "\t$value " >> prod_$prod-cache_hits.dat
done
for value in `perl -n -e 'print "$1 $2 $3" if /cache miss.* (\d+) \/ (\d+) \/ (\d+)/' cache_$cache-*-typeProd_$prod-*-${com}_comm.log` ; do
echo -ne "\t$value" >> prod_$prod-cache_miss.dat
done
for value in `perl -n -e 'print "$1 $2 $3" if /cycles.* (\d+) \/ (\d+) \/ (\d+)/' cache_$cache-*-typeProd_$prod-*-${com}_comm.log` ; do
echo -ne "\t$value" >> prod_$prod-cycles.dat
done
for value in `perl -n -e 'print "$1 $2 $3" if /total_time.* (\d+) \/ (\d+) \/ (\d+)/' cache_$cache-*-typeProd_$prod-*-${com}_comm.log` ; do
echo -ne "\t$value" >> prod_$prod-cycles.dat
done
done
done
for metrique in $metriqueList ; do

@ -1 +1 @@
Subproject commit 9e6bf1124a71a161c3176c04717002d19d06e567
Subproject commit 2bb75f2be7e6b7f6de224b3ec0d144ec1805229f