diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-12-05 13:36:26 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-12-05 13:36:26 +0100 |
commit | 445c015751ecf1c9a22c9a32a1ceb01e07bb2064 (patch) | |
tree | d3a6faaa12e405874664916f97ca6e1ee1bcb759 /bench/perf_monitoring/gemm/make_plot.sh | |
parent | e3f613cbd42cc629b08dd2e39ea192af1996e124 (diff) |
extend monitoring benchmarks with transpose matrix-vector and triangular matrix-vectors.
Diffstat (limited to 'bench/perf_monitoring/gemm/make_plot.sh')
-rwxr-xr-x | bench/perf_monitoring/gemm/make_plot.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bench/perf_monitoring/gemm/make_plot.sh b/bench/perf_monitoring/gemm/make_plot.sh index cd3214ac9..11f3c53be 100755 --- a/bench/perf_monitoring/gemm/make_plot.sh +++ b/bench/perf_monitoring/gemm/make_plot.sh @@ -5,6 +5,7 @@ # and generates $1.pdf WHAT=$1 bench=$2 +settings_file=$3 header="rev " while read line @@ -12,7 +13,7 @@ do if [ ! -z '$line' ]; then header="$header \"$line\"" fi -done < $bench"_settings.txt" +done < $settings_file echo $header > $WHAT.out.header cat $WHAT.out >> $WHAT.out.header @@ -25,7 +26,7 @@ echo "set xtics rotate 1" >> $WHAT.gnuplot echo "set term pdf color rounded enhanced fontscale 0.35 size 7in,5in" >> $WHAT.gnuplot echo set output "'"$WHAT.pdf"'" >> $WHAT.gnuplot -col=`cat $bench"_settings.txt" | wc -l` +col=`cat $settings_file | wc -l` echo "plot for [col=2:$col+1] '$WHAT.out.header' using 0:col:xticlabels(1) with lines" >> $WHAT.gnuplot echo " " >> $WHAT.gnuplot @@ -35,4 +36,4 @@ gnuplot -persist < $WHAT.gnuplot # convert -background white -density 120 -rotate 90 -resize 800 +dither -colors 256 -quality 0 $WHAT.ps -background white -flatten .$WHAT.png # clean -rm $WHAT.out.header $WHAT.gnuplot
\ No newline at end of file +rm $WHAT.out.header $WHAT.gnuplot |