Browse Source

extented plot-filter.sh for linpack and cholesky benchmarks

tags/v0.2.11^2
wernsaar 11 years ago
parent
commit
ca63503e61
1 changed files with 23 additions and 1 deletions
  1. +23
    -1
      benchmark/plot-filter.sh

+ 23
- 1
benchmark/plot-filter.sh View File

@@ -33,6 +33,28 @@
# ./dgemm.goto 2>&1|./plotfilter.sh >OpenBLAS # ./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



Loading…
Cancel
Save