]> rtime.felk.cvut.cz Git - can-benchmark.git/blob - tests/rtt.sh
Do not modify IRQ priority under non-rt kernel
[can-benchmark.git] / tests / rtt.sh
1 #!/bin/sh
2
3 . _lib.sh
4
5 t() {
6     PID_S=`vca_canping -s 1 -b -R FF:$RTPRIO -d $CAN1`
7     vca_canping -m 1 -R FF:$RTPRIO -v -g $DRIVER -t 1 -d $CAN0 -w 2 -c 10000
8     kill $PID_S
9 }
10
11
12
13 PLOT_CMD='
14 set title "Round-trip time (`uname -r`)"
15 set logscale y
16 set grid
17 set xlabel "Time [{/Symbol m}s]"
18 set ylabel "Latency profile [messages]"
19 plot [0:] "socketcan-1000.dat" with lp title "Socketcan",\
20           "lincan-1000.dat" with lp title "Lincan"
21 '
22