]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - ugw/data/plot-thr-detail.gp
Add remaining uncommitted files
[can-benchmark.git] / ugw / data / plot-thr-detail.gp
diff --git a/ugw/data/plot-thr-detail.gp b/ugw/data/plot-thr-detail.gp
new file mode 100644 (file)
index 0000000..dbc1257
--- /dev/null
@@ -0,0 +1,20 @@
+#!/usr/bin/env gnuplot
+set title "Detail of the above"
+set xlabel "Frame period [µs]"
+set ylabel "Latency [µs] + packet loss"
+set style data yerrorlines
+# set yrange [0:10000]
+set yrange [0:500]
+#set logscale y
+# set key left Left reverse
+set grid
+loss_scale=10
+plot \
+     'kernel.dat' using 1:2:($3*loss_scale) title 'kernel', \
+     'mmapbusy-mmap.dat' using 1:2:($3*loss_scale) title 'mmapbusy-mmap', \
+     'mmapbusy-write.dat' using 1:2:($3*loss_scale) title 'mmapbusy-write', \
+     'mmap-mmap.dat' using 1:2:($3*loss_scale) title 'mmap-mmap', \
+     'mmap-write.dat' using 1:2:($3*loss_scale) title 'mmap-write'
+#     'readbusy-write.dat' using 1:2:($3*loss_scale) title 'readbusy-write', \
+#     'readnb-write.dat' using 1:2:($3*loss_scale) title 'readnb-write', \
+#     'read-write.dat' using 1:2:($3*loss_scale) title 'read-write'