]> rtime.felk.cvut.cz Git - can-benchmark.git/blob - tests/rtt-overload.sh
7aad5040babe2bdf34dce473c9f26c50dfe9579d
[can-benchmark.git] / tests / rtt-overload.sh
1 #!/bin/sh
2
3 . _lib.sh
4
5 C=100
6
7 t() {
8     PID_S=`vca_canping -s $C -b -r -d $CAN1`
9     vca_canping -m $C -r -v -g $DRIVER -t 1 -d $CAN0 -w 500 -c 10
10     kill $PID_S
11 }
12
13
14
15 PLOT_CMD="
16 set title 'RTT of highest prio message when opened $C times (`uname -r`)'
17 set logscale y
18 set grid
19 set xlabel 'Time [{/Symbol m}s]'
20 set ylabel 'Latency profile [messages]'
21 plot [0:] 'socketcan-1000.dat' with lp title 'Socketcan',\
22           'lincan-1000.dat' with lp title 'Lincan'
23 "
24