6 pid=$(sshgw 'chrt -f 90 candump -s2 -b can1 can0 & echo $!')
7 latester -d can0 -d can1 -d can2 -c $COUNT $(traffic_and_length 2) -n user2
8 latester -d can0 -d can1 -d can2 -c $COUNT $(traffic_and_length 8) -n user8
10 sshgw cangw -A -s can0 -d can1
11 latester -d can0 -d can1 -d can2 -c $COUNT $(traffic_and_length 2) -n kern2
12 latester -d can0 -d can1 -d can2 -c $COUNT $(traffic_and_length 8) -n kern8
17 set title "Kernel vs. userspace GW, no modifications"
20 set xlabel "Time [ms]"
21 set ylabel "Latency profile [messages]"
22 plot [0:] [1:$COUNT] \
23 "kern2-hist.txt" with lp lt 1 title "Kernel GW, 2 byte messages", \
24 "kern8-hist.txt" with lp lt 2 title "Kernel GW, 8 byte messages", \
25 "user2-hist.txt" with lp lt 1 title "Userspace GW, 2 byte messages", \
26 "user8-hist.txt" with lp lt 2 title "Userspace GW, 8 byte messages"