6 pid=$(sshgw 'chrt -f 90 candump -s2 -b can1 can0 & echo $!')
7 latester -d can0 -d can1 -d can2 -o -c $COUNT -l 2 -h uhist2.dat -f utime2.dat
8 latester -d can0 -d can1 -d can2 -o -c $COUNT -l 8 -h uhist8.dat -f utime8.dat
10 sshgw cangw -A -s can0 -d can1
11 latester -d can0 -d can1 -d can2 -o -c $COUNT -l 2 -h khist2.dat -f ktime2.dat
12 latester -d can0 -d can1 -d can2 -o -c $COUNT -l 8 -h khist8.dat -f ktime8.dat
17 set title "Kernel vs. userspace GW, no modifications, no filters"
20 set xlabel "Time [{/Symbol m}s]"
21 set ylabel "Latency profile [messages]"
22 plot [0:] [1:$COUNT] \
23 "khist2.dat" with lp lt 1 title "Kernel GW, 2 byte messages", \
24 "khist8.dat" with lp lt 2 title "Kernel GW, 8 byte messages", \
25 "uhist2.dat" with lp lt 1 title "Userspace GW, 2 byte messages", \
26 "uhist8.dat" with lp lt 2 title "Userspace GW, 8 byte messages"