| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #!/bin/bash
- outputfile=dmda.data
- gnuplot > /dev/null << EOF
- set term postscript eps enhanced color
- set output "dmda.eps"
- #set pointsize 0.75
- set grid y
- set grid x
- #set logscale x
- set size 0.65
- set xlabel "Matrix size"
- set xtics 0,8192,49152
- set size 0.7,0.8
- set multiplot
- set size 0.7,0.4
- set origin 0.0,0.0
- set ylabel "Data accesses requiring\n a memory transfer"
- set format y "%.0f %%"
- set key box right top title "Policy"
- plot "$outputfile" usi 1:2 with linespoint lt rgb "black" lw 4 title "heft-tm-pr" ,\
- "$outputfile" usi 1:3 with linespoint lt rgb "black" lw 4 title "heft-tmdp-pr"
- set size 0.7,0.4
- set origin 0.0,0.4
- set ylabel "Avg. activity on bus (GB/s)\n"
- set format y "%.1f"
- set key box right bottom title "Policy"
- plot "$outputfile" usi 1:((\$4/\$6)) with linespoint lt rgb "black" lw 4 title "heft-tm-pr",\
- "$outputfile" usi 1:((\$5/\$7)) with linespoint lt rgb "black" lw 4 title "heft-tmdp-pr"
- unset multiplot
- EOF
|