]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/rtt.sh
HTML report + many modifications
[can-benchmark.git] / tests / rtt.sh
index cf0a3463c858617335e991bf8e77e25318dafca2..757ff45815e5d0c4f9a89a796f64c29a347cf093 100755 (executable)
@@ -4,14 +4,14 @@
 
 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]"
@@ -21,8 +21,8 @@ plot [0:] "socketcan-1000.dat" with lp title "Socketcan",\
 '
 
 PLOT_CMD[1]='
-set title "Round-trip time history (`uname -r`)"
-set logscale y
+set title "Round-trip time history"
+set logscale xy
 set grid
 set xlabel "Ping number"
 set ylabel "Round-trip time [{/Symbol m}s]"