diff options
author | wernsaar <wernsaar@googlemail.com> | 2014-07-30 13:03:42 +0200 |
---|---|---|
committer | wernsaar <wernsaar@googlemail.com> | 2014-07-30 13:03:42 +0200 |
commit | ca63503e61d2e20d4489b755517e238763b51b9c (patch) | |
tree | a11d01e44783d7a65d991707635b67ca88f1333b /benchmark | |
parent | 5087096711ffe2869750afce96028b29b2489428 (diff) | |
download | openblas-ca63503e61d2e20d4489b755517e238763b51b9c.tar.gz openblas-ca63503e61d2e20d4489b755517e238763b51b9c.tar.bz2 openblas-ca63503e61d2e20d4489b755517e238763b51b9c.zip |
extented plot-filter.sh for linpack and cholesky benchmarks
Diffstat (limited to 'benchmark')
-rwxr-xr-x | benchmark/plot-filter.sh | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/benchmark/plot-filter.sh b/benchmark/plot-filter.sh index b47535b6f..420ec9b02 100755 --- a/benchmark/plot-filter.sh +++ b/benchmark/plot-filter.sh @@ -33,6 +33,28 @@ # ./dgemm.goto 2>&1|./plotfilter.sh >OpenBLAS # ************************************************************************ +if [ $# -eq 1 ] +then + arg1=$1 +else + arg1=0 +fi -awk '/MFlops/ { print $1,int($3) }'|tail --lines=+2 +case $arg1 in + +L) + # Linpack Benchmark + awk '/MFlops/ { print $1,int($8) }'|tail --lines=+2 + ;; + +C) + # Cholesky Benchmark + awk '/MFlops/ { print $3,int($9) }'|tail --lines=+2 + ;; + + +*) + awk '/MFlops/ { print $1,int($3) }'|tail --lines=+2 + ;; +esac |