From 7e8ee5ed9cad6484e9f13f81731b102ced58402e Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Tue, 9 Jul 2019 15:14:04 -0400 Subject: Init. --- .../plot-allocation-times-by-allocation-size.plot | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 meap/meap-code/ch6/ch6-tracing-output/plot-allocation-times-by-allocation-size.plot (limited to 'meap/meap-code/ch6/ch6-tracing-output/plot-allocation-times-by-allocation-size.plot') diff --git a/meap/meap-code/ch6/ch6-tracing-output/plot-allocation-times-by-allocation-size.plot b/meap/meap-code/ch6/ch6-tracing-output/plot-allocation-times-by-allocation-size.plot new file mode 100755 index 0000000..f9bca8e --- /dev/null +++ b/meap/meap-code/ch6/ch6-tracing-output/plot-allocation-times-by-allocation-size.plot @@ -0,0 +1,34 @@ + + + +# GENERAL +set key off +set rmargin 5 +set grid ytics noxtics nocbtics back +set border 3 back lw 2 lc rgbcolor "#222222" + +# X AXIS +set xlabel "Allocation size (bytes)" +set logscale x 2 +set xtics nomirror out + +# Y AXIS +set ylabel "Time taken for malloc() to return" +set logscale y +set yrange [0.00005 to 0.0005] +set ytics ( \ + "50 {/Symbol m}s" 0.00005, \ + "75 {/Symbol m}s" 0.000075, \ + "100 {/Symbol m}s" 0.0001, \ + "250 {/Symbol m}s" 0.00025, \ + "500 {/Symbol m}s" 0.0005, \ +) + #"750 {/Symbol m}s" 0.00075, \ + "1000 {/Symbol m}s" 0.001, \ + #"2500 {/Symbol m}s" 0.0025, \ + "5000 {/Symbol m}s" 0.005 \ +# ) +set ytics nomirror out + +plot "allocs.tsv" with points pointtype 6 linecolor rgbcolor "#aafa2a2a" +print "done" \ No newline at end of file -- cgit v1.2.3