]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/pc.sh
Update graph axis labels
[can-benchmark.git] / gw-tests / pc.sh
index afec393a8597a310c020a2da480dfbec976a0ee7..b32ecc110a27401691bb46f954a10630418c7dcd 100755 (executable)
@@ -14,15 +14,15 @@ plot_cmds() {
     if [ $traffic = "flood" ]; then max=35; fi
 
     cat <<EOF
-set title "No GW, two interfaces in PC"
+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
 }