]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/rtt.sh
Extend preparation of virtual drivers
[can-benchmark.git] / tests / rtt.sh
index cf0a3463c858617335e991bf8e77e25318dafca2..f0ce6673a2c28fb93a9cb28e41ce0ae1d2a1c08f 100755 (executable)
@@ -4,24 +4,24 @@
 
 t() {
     PID_S=`vca_canping -s 1 -b -R FF:$RTPRIO -d $CAN1`
-    vca_canping -m 1 -R FF:$RTPRIO -v -e $DRIVER-times -g $DRIVER -t 1 -d $CAN0 -w 0 -n 10 -c 10000
+    vca_canping -m 1 -R FF:$RTPRIO -v -e $DRIVER-times -g $DRIVER -t 1 -d $CAN0 -w 0 -n 10 -c $COUNT
     kill $PID_S
 }
 
 
 
 PLOT_CMD='
-set title "Round-trip time (`uname -r`)"
+set title "Round-trip time"
 set logscale y
 set grid
 set xlabel "Time [{/Symbol m}s]"
 set ylabel "Latency profile [messages]"
 plot [0:] "socketcan-1000.dat" with lp title "Socketcan",\
-          "lincan-1000.dat" with lp title "Lincan"
+              "lincan-1000.dat" with lp title "Lincan"
 '
 
 PLOT_CMD[1]='
-set title "Round-trip time history (`uname -r`)"
+set title "Round-trip time history"
 set logscale y
 set grid
 set xlabel "Ping number"