extented plot-filter.sh for linpack and cholesky benchmarks

This commit is contained in:
wernsaar 2014-07-30 13:03:42 +02:00
parent 5087096711
commit ca63503e61
1 changed files with 23 additions and 1 deletions

View File

@ -33,6 +33,28 @@
# ./dgemm.goto 2>&1|./plotfilter.sh >OpenBLAS
# ************************************************************************
if [ $# -eq 1 ]
then
arg1=$1
else
arg1=0
fi
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