]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Plot latencies over time
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 1 Dec 2010 13:39:56 +0000 (14:39 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 1 Dec 2010 13:39:56 +0000 (14:39 +0100)
gw-tests/nop-time.sh [new file with mode: 0755]

diff --git a/gw-tests/nop-time.sh b/gw-tests/nop-time.sh
new file mode 100755 (executable)
index 0000000..552f3f0
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+. lib.sh
+
+main() {
+       :
+}
+
+plot_cmds() {
+    cat <<'EOF'
+set title "Single GW, no modifications, no filters"
+set grid
+set xlabel "Time [s]"
+set ylabel "Latency [{/Symbol m}s]"
+plot [:] [:500] \
+          "../nop/time2.dat" using 2:(1000000*$14) with points title "2 byte messages", \
+          "../nop/time4.dat" using 2:(1000000*$14) with points title "4 byte messages", \
+          "../nop/time6.dat" using 2:(1000000*$14) with points title "6 byte messages", \
+          "../nop/time8.dat" using 2:(1000000*$14) with points title "8 byte messages"
+EOF
+}
+    
+test_end
+