]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/mod.sh
Add RTEMS as a submodule
[can-benchmark.git] / gw-tests / mod.sh
index a5b86790bbfa37857ed5ba0dc45b7ea3a923c2d2..102369af32d172882edf1d000d9d1ad5f6fe7324 100755 (executable)
@@ -44,23 +44,23 @@ plot_cmds() {
        range=0:200
        echo "set logscale y"
        echo "set key left bottom reverse Left"
-       echo "set xlabel 'Time [{/Symbol m}s]'"
+       echo "set xlabel 'GW latency [{/Symbol m}s]'"
        using="using (\$1*1000):2"
     else
        range=0.01:10
        echo "set logscale xy"
-       echo "set xlabel 'Time [ms]'"
+       echo "set xlabel 'GW latency [ms]'"
        using=""
     fi
     cat <<EOF
 set title "Single GW rule for all messages with modifications, 8 byte messages"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set ylabel "Latency profile [messages]"
-plot [$range] [1:$COUNT] \
-          "nop-hist.txt" $using with lp lt 1 title "No modifications", \
-          "mod-hist.txt" $using with lp lt 2 title "Two modifications", \
-          "mod2-hist.txt" $using with lp lt 3 title "Four modifications", \
-          "modcsxor-hist.txt" $using with lp lt 4 title "Four modifications and XOR checksum",\
+set ylabel "Latency profile [frames]"
+plot [$range] [1:$COUNT] \\
+          "nop-hist.txt" $using with lp lt 1 title "No modifications", \\
+          "mod-hist.txt" $using with lp lt 2 title "Two modifications", \\
+          "mod2-hist.txt" $using with lp lt 3 title "Four modifications", \\
+          "modcsxor-hist.txt" $using with lp lt 4 title "Four modifications and XOR checksum",\\
           "modcscrc8-hist.txt" $using with lp lt 5 title "Four modifications and CRC8 checksum"
 EOF
 }