[PATCH] libosmo-netif[master]: tests: jibuf_tool: Add seq.plt

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Apr 12 13:33:07 UTC 2018


Review at  https://gerrit.osmocom.org/7780

tests: jibuf_tool: Add seq.plt

Change-Id: I37bb3ab372b7ad7c3c1d09c8134827c932bf8bf8
---
A tests/jibuf/seq.plt
1 file changed, 50 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/80/7780/1

diff --git a/tests/jibuf/seq.plt b/tests/jibuf/seq.plt
new file mode 100644
index 0000000..dda8ad0
--- /dev/null
+++ b/tests/jibuf/seq.plt
@@ -0,0 +1,50 @@
+#set terminal png size 1280,1024 enhanced font "Helvetica,20"
+#set output 'output.png'
+#set terminal qt
+#set output
+
+set datafile separator "\t"
+set datafile missing '0'
+
+#set multiplot
+
+# key/legend
+set key top right
+set key box
+set key left bottom
+set key bmargin
+
+
+set title 'Jitter Graph'
+set xlabel 'Timestamp'
+set ylabel 'Seq'
+set ytics nomirror
+
+#set y2label 'delay [ms]'
+#set y2tics nomirror
+
+# For pcap based input, 'pre.delay' makes no sense (it's 0) as we can't know tx_delay
+pcap = 1
+if (pcap) {
+        plot \
+        '/tmp/bla' using 3:1 with linespoints title 'pre.trans' axes x1y1, \
+        '/tmp/bla' using 4:1 with linespoints title 'post.trans' axes x1y1, \
+        '/tmp/bla' using 3:7 with linespoints title 'pre.jitter' axes x1y1, \
+        '/tmp/bla' using 4:8 with linespoints title 'post.jitter' axes x1y1, \
+        '/tmp/bla' using 3:10 with linespoints title 'pre.buffer' axes x1y1, \
+        '/tmp/bla' using 4:((column(4)-column(3))) with linespoints title 'post.delay' axes x1y1
+
+} else {
+        plot \
+        '/tmp/bla' using 3:5 with linespoints title 'pre.trans' axes x1y1, \
+        '/tmp/bla' using 4:6 with linespoints title 'post.trans' axes x1y1, \
+        '/tmp/bla' using 3:7 with linespoints title 'pre.jitter' axes x1y1, \
+        '/tmp/bla' using 4:8 with linespoints title 'post.jitter' axes x1y1, \
+        '/tmp/bla' using 3:9 with linespoints title 'pre.dropped' axes x1y1, \
+        '/tmp/bla' using 3:10 with linespoints title 'pre.buffer' axes x1y1, \
+        '/tmp/bla' using 3:11 with linespoints title 'pre.skew' axes x1y1, \
+        '/tmp/bla' using 3:((column(3)-column(2))) with linespoints title 'pre.delay' axes x1y1, \
+        '/tmp/bla' using 4:((column(4)-column(2))) with linespoints title 'post.delay' axes x1y1
+}
+
+pause mouse close; exit

-- 
To view, visit https://gerrit.osmocom.org/7780
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I37bb3ab372b7ad7c3c1d09c8134827c932bf8bf8
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list