]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/gw-nop.sh
Merge branch 'master' of rtime.felk.cvut.cz:/can-benchmark
[can-benchmark.git] / gw-tests / gw-nop.sh
index afd53f9fef614ff17906d4b9999f3c479928a14e..69b328df95b273c79dc1123802f52fe9a71f47a9 100755 (executable)
@@ -5,7 +5,7 @@
 main() {
     gw="cangw -A -s can0 -d can1"
     sshgw $gw
-    latester -d can0 -d can1 -d can2 -o -c $COUNT -h hist.dat
+    latester -d can0 -d can1 -d can2 -o -c $COUNT -h hist.dat -f time.dat
 }
 
 plot_cmds() {
@@ -13,9 +13,9 @@ plot_cmds() {
 set title "$gw"
 set logscale y
 set grid
-set xlabel "Time [ms]"
+set xlabel "Time [{/Symbol m}s]"
 set ylabel "Latency profile [messages]"
-plot [0:] \
+plot [0:1000] [1:$COUNT] \
           "hist.dat" with lp lt 1 title ""
 EOF
 }