X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/b6a48d7f59692de4091ddd8447a6642f9008a271..0067509575642daf871e95388be79ae95ad33d70:/gw-tests/vcan.sh diff --git a/gw-tests/vcan.sh b/gw-tests/vcan.sh index 946bff7..d44504a 100755 --- a/gw-tests/vcan.sh +++ b/gw-tests/vcan.sh @@ -14,7 +14,7 @@ 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 } @@ -24,13 +24,13 @@ plot_cmds() { set title "Chained GW jobs on a signle VCAN interface" set logscale y set grid -set xlabel "Time [{/Symbol m}s]" +set xlabel "Time [ms]" set ylabel "Latency profile [messages]" -plot [0:1000] [1:$COUNT] \\ +plot [0:10] [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 }