changes for modifying the microbenchmarks
[IRC.git] / Robust / src / Benchmarks / SingleTM / MicroBenchmarks / data.plt
1 set terminal postscript enhanced eps color
2
3 set style data linespoints
4 set style fill solid
5 set grid ytics
6
7
8 ##### Plot Execution time for 4 threads ########
9 #set title "Execution times for Microbenchmark numthreads= 4"
10 #set output "ExecTime4.eps"
11 #set ylabel 'Time in secs'
12 #set xlabel 'Desired abort rate for benchmark in %'
13 #set yrange [0.30:0.40]
14 #set style line 1 lt 2 lw 2 pt 3 ps 0.5
15 #plot 0.37 title 'No-lock base time' linewidth 2, \
16 #    "run4.data" using 1:2 title 'exec time' linetype 3 linewidth 2
17
18 #pause -1
19 ##### Plot Target abort rate vs observed rate for 4 threads ########
20 #set title "Abort Rates for Microbenchmark(fudge factor= 3, numthreads= 4)"
21 #set output "AbortRate4.eps"
22 #set ylabel 'Observed Abort rate in %(numabort+numsoftabort)/numcommit'
23 #set xlabel 'Desired abort rate for benchmark in %'
24 #set yrange [0:70]
25 #plot "run4.txt" using 1:2 with impulse title 'Base abort rate' linewidth 2, \
26 #    "run4.data" using 1:3 title 'abort rate' linetype 3 linewidth 2
27        
28 #pause -1
29 ##### Plot Execution time for 8 threads ########
30 set title "Execution times for Microbenchmark numthreads= 8"
31 set output "ExecTime8.eps"
32 set ylabel 'Time in secs'
33 set xlabel 'Desired abort rate for benchmark in %'
34 set yrange [0:3.5]
35 set style line 1 lt 2 lw 2 pt 3 ps 0.5
36 plot 2.98 title 'No-lock base time' linewidth 2, \
37     "run8.data" using 1:2 title 'exec time' linetype 3 linewidth 2
38
39 #pause -1
40 ##### Plot Target abort rate vs observed rate for 8 threads ########
41 set title "Abort Rates for Microbenchmark(fudge factor= 3, numthreads= 8)"
42 set output "AbortRate8.eps"
43 set ylabel 'Observed Abort rate in %(numabort+numsoftabort)/numcommit'
44 set xlabel 'Desired abort rate for benchmark in %'
45 set yrange [0:70]
46 plot "run8.txt" using 1:2 with impulse title 'Base abort rate' linewidth 2, \
47     "run8.data" using 1:3 title 'abort rate' linetype 3 linewidth 2
48  
49 #pause -1