diff options
author | Adam Carpenter <53hornet@gmail.com> | 2019-03-27 15:32:37 -0400 |
---|---|---|
committer | Adam Carpenter <53hornet@gmail.com> | 2019-03-27 15:32:37 -0400 |
commit | 67cdcc2e12118becb823e20a40cc2687f2b8425a (patch) | |
tree | ed92c3234b89079e6d4cf36f5e80c5ffa79def48 /meap/meap-code/ch6/ch6-tracing-output/plot-allocation-times-by-allocation-size.plot | |
parent | e25482fca375d318a39c3b54db396b0db6e0b263 (diff) | |
download | learning-rust-67cdcc2e12118becb823e20a40cc2687f2b8425a.tar.xz learning-rust-67cdcc2e12118becb823e20a40cc2687f2b8425a.zip |
Started Rust in Action MEAP.
Diffstat (limited to 'meap/meap-code/ch6/ch6-tracing-output/plot-allocation-times-by-allocation-size.plot')
-rw-r--r-- | meap/meap-code/ch6/ch6-tracing-output/plot-allocation-times-by-allocation-size.plot | 34 |
1 files changed, 34 insertions, 0 deletions
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 100644 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 |