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