]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/vcan.sh
Test for -rt kernel in highptio test
[can-benchmark.git] / gw-tests / vcan.sh
index a9552808626a6ad9b16befef9b6f542e9ad6e78e..b760d5ff28ef69fb8cf7405bc023165d583e7840 100755 (executable)
@@ -14,23 +14,23 @@ main() {
        done
        sshgw cangw -A -s vcan0 -d can1 -f $(printf %x:C00007FF $i)
 
-       latester -d can0 -d can1 -d can2 -c $COUNT -i 0 -h hist-$i.dat -f time-$i.dat
+       latester -d can0 -d can1 -d can2 -c $COUNT -i 0 -n hops$i
     done
     sshgw ip link del dev vcan0
 }
 
 plot_cmds() {
     cat <<EOF
-set title "Chained GWs on a signle VCAN interface"
+set title "Chained GW jobs on a signle VCAN interface"
 set logscale y
 set grid
 set xlabel "Time [{/Symbol m}s]"
 set ylabel "Latency profile [messages]"
-plot [0:1000] [1:$COUNT] \\
+plot [0:10000] [1:$COUNT] \\
 EOF
     lt=2
     for i in $numjobs; do
-       echo_plot "\"hist-$i.dat\" with lp lt $lt title \"$((i+2)) GW jobs, 1 vcan\""
+       echo_plot "\"hops$i-hist.txt\" with lp lt $lt title \"$((i+2)) GW jobs, 1 vcan\""
         lt=$((lt+1))
     done
 }