From 934790a6d955fda9c23319c99855a6bed53cb231 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 23 Jun 2009 14:46:00 +0200 Subject: [PATCH] commtechs bench: Print time information --- communication_techniques/parsing.sh | 16 ++++++++++++---- papihighlevel | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/communication_techniques/parsing.sh b/communication_techniques/parsing.sh index f5f3b76..1e5a715 100644 --- a/communication_techniques/parsing.sh +++ b/communication_techniques/parsing.sh @@ -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 diff --git a/papihighlevel b/papihighlevel index 9e6bf11..2bb75f2 160000 --- a/papihighlevel +++ b/papihighlevel @@ -1 +1 @@ -Subproject commit 9e6bf1124a71a161c3176c04717002d19d06e567 +Subproject commit 2bb75f2be7e6b7f6de224b3ec0d144ec1805229f