5 numjobs=" 1 `seq 2 2 10`"
11 for j in `seq $((i-1))`; do
12 sshgw "if ! ip l show dev vcan$j >/dev/null 2>&1; then ip link add dev vcan$j type vcan && ip link set vcan$j up; fi"
13 sshgw cangw -A -s $lastif -d vcan$j -e -f $(printf %x:C00007FF $((j-1))) -m SET:I:$(printf %x $j).0.0000000000000000
16 sshgw cangw -A -s $lastif -d can1 -f $(printf %x:C00007FF $((i-1)))
18 latester -d can0 -d can1 -d can2 -c $COUNT -i 0 $(traffic_and_length 2) -n hops$i
22 ADDITIONAL_PLOTS=detail
25 if [[ "$1" = detail ]]; then
31 echo "set logscale xy"
34 set title "Chained GW jobs on multiple VCAN interfaces"
35 set grid xtics mxtics ytics mytics lw 1, lw 0.5
36 set xlabel "Time [ms]"
37 set ylabel "Latency profile [messages]"
38 plot [$range] [1:$COUNT] \\
42 echo_plot "\"hops$i-hist.txt\" with lp lt $lt title \"$i GW jobs, $((i-1)) vcans\""