]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/nop-time.sh
Plot latencies over time
[can-benchmark.git] / gw-tests / nop-time.sh
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
+