Plot time offsets on X axes when profiling.
This commit is contained in:
1 parent
f4a71d7f63
commit
3344f373bd
2 files changed
+8
-13
No files matched your search
@@ -2,20 +2,15 @@
|
||||
|
||||
set title sample_file
|
||||
|
||||
set xlabel "Time"
|
||||
set xlabel "Runtime (seconds)"
|
||||
set ylabel "Memory (MB)"
|
||||
|
||||
set xdata time
|
||||
set timefmt "%Y-%m-%dT%H:%M:%S"
|
||||
|
||||
set yrange [0:*]
|
||||
set xtics 1
|
||||
|
||||
set term wx persist size 900,600
|
||||
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) \
|
||||
with linespoints ls 1 \
|
||||
title "Memory"
|
||||
plot sample_file using 1:($2 / 1024 ** 2) ls 1 title "Memory"
|
||||
Reference in new issue
Block a user