oga/profile/gnuplot/memory_time.gpi

17 lines
360 B
Plaintext
Raw Normal View History

# The `sample_file` variable should contain the path to the variable to plot.
set title sample_file
set xlabel "Runtime (seconds)"
set ylabel "Memory (MB)"
2014-05-01 19:47:51 +00:00
set xtics 2
2014-05-01 19:47:51 +00:00
set term wx persist size 1024,760
set grid
set style line 1 lc rgb "#0060ad" lt 1 lw 2 pt 7 ps 1
set style data linespoints
plot sample_file using 1:($2 / 1024 ** 2) ls 1 title "Memory"