6 sshgw cangw -A -s can0 -d can1
7 latester -d can0 -d can1 -d can2 -c $COUNT $(traffic_and_length 2) -n len2
8 latester -d can0 -d can1 -d can2 -c $COUNT $(traffic_and_length 4) -n len4
9 latester -d can0 -d can1 -d can2 -c $COUNT $(traffic_and_length 6) -n len6
10 latester -d can0 -d can1 -d can2 -c $COUNT $(traffic_and_length 8) -n len8
13 ADDITIONAL_PLOTS=detail
16 if [[ "$1" = detail ]]; then
21 echo "set logscale xy"
24 set title "Single GW rule for all messages, no modifications"
25 set grid xtics mxtics ytics mytics lw 1, lw 0.5
26 set xlabel "GW latency [ms]"
27 set ylabel "Latency profile [frames]"
28 plot [$range] [1:$COUNT] \\
29 "len2-hist.txt" with lp lt 1 title "2 byte messages", \\
30 "len4-hist.txt" with lp lt 2 title "4 byte messages", \\
31 "len6-hist.txt" with lp lt 3 title "6 byte messages", \\
32 "len8-hist.txt" with lp lt 4 title "8 byte messages"