X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/0b85f7d8d9aa48ec67f0559dfe42ce370399a7f0..6ed107ea2c3af4ae56c8f8368d114e0318b35235:/tests/rtt-overload.sh diff --git a/tests/rtt-overload.sh b/tests/rtt-overload.sh new file mode 100755 index 0000000..7aad504 --- /dev/null +++ b/tests/rtt-overload.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +. _lib.sh + +C=100 + +t() { + PID_S=`vca_canping -s $C -b -r -d $CAN1` + vca_canping -m $C -r -v -g $DRIVER -t 1 -d $CAN0 -w 500 -c 10 + kill $PID_S +} + + + +PLOT_CMD=" +set title 'RTT of highest prio message when opened $C times (`uname -r`)' +set logscale y +set grid +set xlabel 'Time [{/Symbol m}s]' +set ylabel 'Latency profile [messages]' +plot [0:] 'socketcan-1000.dat' with lp title 'Socketcan',\ + 'lincan-1000.dat' with lp title 'Lincan' +" +