]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/rtt.sh
Other test added
[can-benchmark.git] / tests / rtt.sh
similarity index 70%
rename from tests/t01-simple.sh
rename to tests/rtt.sh
index e6e92df8f2e768be705cedc256ac2ccd914b510e..73978696465e3e6c54628078ab2550335a7e8c57 100755 (executable)
@@ -1,17 +1,19 @@
 #!/bin/sh
 
-. lib.sh
+. _lib.sh
 
 t() {
     PID_S=`vca_canping -s 1 -b -r -d $CAN1`
-    vca_canping -m 1 -r -v -g $DRIVER -t 1 -d $CAN0 -w 5 -c 1000
+    vca_canping -m 1 -r -v -g $DRIVER -t 1 -d $CAN0 -w 2 -c 10000
     kill $PID_S
 }
 
+
+
 PLOT_CMD='
+set title "Round-trip time (`uname -r`)"
 set logscale y
 set grid
-set title "Round-trip time measurement (`uname -r`)"
 set xlabel "Time [{/Symbol m}s]"
 set ylabel "Latency profile [messages]"
 plot [0:] "socketcan-1000.dat" with lp title "Socketcan",\