PATH=$PWD/../_compiled/bin/:$PATH
-RTPRIO=60
-COUNT=10000
+RTPRIO=${RTPRIO:-60}
+COUNT=${COUNT:-10000}
boost_irq_prio() {
local PRIO=${1:-50}
for tst in $tests; do
boost_irq_prio 50 || true
prepare_$tst
+ echo "----------------------"
t
done
}
}
go() {
+ echo "####################"
mhz=${MHZ:-2400 300}
for clk in $mhz; do
+ echo "===================="
dir=$(create_dirs_and_links `basename $0 .sh` `uname -r` $clk)
set -x
pushd $dir
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"
+ "lincan-1000.dat" with lp title "Lincan"
'
PLOT_CMD[1]='
set title "Round-trip time history"
-set logscale xy
+set logscale y
set grid
set xlabel "Ping number"
set ylabel "Round-trip time [{/Symbol m}s]"