From 5a4ba107723d14a769261b15e1383255732ae143 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Mon, 16 Nov 2009 09:28:25 +0000 Subject: [PATCH] change so graphs are publishable....now they look reasonable... --- Robust/src/Benchmarks/SingleTM/toprocess | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/Robust/src/Benchmarks/SingleTM/toprocess b/Robust/src/Benchmarks/SingleTM/toprocess index 6a970e4b..2a28eaef 100755 --- a/Robust/src/Benchmarks/SingleTM/toprocess +++ b/Robust/src/Benchmarks/SingleTM/toprocess @@ -25,7 +25,7 @@ fi if [ $bm = "Bayes.bin" ] then name="bayes" fi -echo $bm CSEQ TL2 SWISSTM BASE FIS FISAR DEB DV HYDV OPTSTM > ${bm}_spreadsheet.dat +echo $bm CSEQ TL2 SWISSTM BASE OBJDEC FISAR DEB ARRDEC HYBARRAYDEC OPTSTM > ${bm}_spreadsheet.dat cat logfinalpaper/log/${bm}_1_LOCK_* | grep TIME= > tmpfile base=`java add tmpfile` cat ~/stamp/stamp-0.9.10/log/${name}_seq_1_* | grep -i time > tmpfile @@ -55,29 +55,24 @@ done echo ${num} ${line} >> ${bm}_spreadsheet.dat done echo set bar 1.000000 > plot_${bm}.txt +echo set terminal postscript enhanced \"Times-Roman\" 16 >> plot_${bm}.txt echo set boxwidth 0.9 absolute >> plot_${bm}.txt echo set style fill pattern 0.00 border -1 >> plot_${bm}.txt echo set style rectangle back fc lt -3 fillstyle solid 1.00 border -1 >> plot_${bm}.txt -echo set key inside left top vertical Right noreverse enhanced autotitles columnhead nobox >> plot_${bm}.txt +echo set key inside left top vertical Left reverse enhanced autotitles columnhead nobox >> plot_${bm}.txt echo set style histogram clustered gap 2 title offset character 0, 0, 0 >> plot_${bm}.txt echo set datafile missing \'-\' >> plot_${bm}.txt echo set style data histograms >> plot_${bm}.txt echo set xtics border in scale 1,0.5 nomirror rotate by -45 offset character 0, 0, 0 >> plot_${bm}.txt echo set xtics norangelimit >> plot_${bm}.txt echo set xrange [-.7:3.7] >> plot_${bm}.txt -echo set ylabel offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt +echo set ylabel \"Speedup\" offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt +echo set xlabel \"Number of Threads\" offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt echo set y2label offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt -#echo set yrange [ 0 : 8 ] noreverse nowriteback >> plot_${bm}.txt +echo set grid ytics >> plot_${bm}.txt +echo set yrange [ 0 : \* ] noreverse nowriteback >> plot_${bm}.txt echo set cblabel offset character 0, 0, 0 font \"\" textcolor lt -1 rotate by 90 >> plot_${bm}.txt echo set locale \"C\" >> plot_${bm}.txt -if [ $name = "intruder" ] -then -echo plot \'${bm}_spreadsheet.dat\' using 4:xticlabels\(1\) ti col, \'\' u 5 ti col, \'\' u 6 ti col, \'\' u 7 ti col, \'\' u 8 ti col, \'\' u 9 ti col, \'\' u 10 ti col >> plot_${bm}.txt -elif [ $name = "ssca2" ] -then -echo plot \'${bm}_spreadsheet.dat\' using 4:xticlabels\(1\) ti col, \'\' u 5 ti col, \'\' u 6 ti col, \'\' u 7 ti col, \'\' u 8 ti col, \'\' u 9 ti col, \'\' u 10 ti col >> plot_${bm}.txt -else -echo plot \'${bm}_spreadsheet.dat\' using 4:xticlabels\(1\) ti col, \'\' u 5 ti col, \'\' u 6 ti col, \'\' u 7 ti col, \'\' u 8 ti col, \'\' u 9 ti col, \'\' u 10 ti col, \'\' u 11 ti col >> plot_${bm}.txt -fi -echo pause -1 >> plot_${bm}.txt +echo plot \'${bm}_spreadsheet.dat\' using 5:xticlabels\(1\) ti col, \'\' u 6 ti col, \'\' u 9 ti col, \'\' u 10 ti col >> plot_${bm}.txt +#echo pause -1 >> plot_${bm}.txt done \ No newline at end of file -- 2.34.1