]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/pc.sh
More messages in verbose mode
[can-benchmark.git] / gw-tests / pc.sh
index e022f1d70ee59e5813e5957aa021ff05805510ae..b32ecc110a27401691bb46f954a10630418c7dcd 100755 (executable)
@@ -17,12 +17,12 @@ plot_cmds() {
 set title "No GW, two interfaces in PC (Latency = t_{kernel RX} - t_{before send} - t_{TX length})"
 set logscale y
 set grid
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
-plot [0.01:$max] [1:$COUNT] \
-          "len2-hist.txt" with lp lt 1 title "2 byte messages", \
-          "len4-hist.txt" with lp lt 2 title "4 byte messages", \
-          "len6-hist.txt" with lp lt 3 title "6 byte messages", \
+set xlabel "Latency [ms]"
+set ylabel "Latency profile [frames]"
+plot [0.01:$max] [1:$COUNT] \\
+          "len2-hist.txt" with lp lt 1 title "2 byte messages", \\
+          "len4-hist.txt" with lp lt 2 title "4 byte messages", \\
+          "len6-hist.txt" with lp lt 3 title "6 byte messages", \\
           "len8-hist.txt" with lp lt 4 title "8 byte messages"
 EOF
 }