numjobs=" 1 `seq 2 2 10`"
main() {
+ if [ "$kvers" = 3.0.4-rt14-00008-gb2052fd -a "$load" = eth -a $traffic != oneatatime ]; then echo "Skipping eth test"; SKIPPED=1; return; fi
+
+ if [ "$kvers" = 3.4.33-rt47-00004-gc58c9ae ]; then echo "Skipping test"; SKIPPED=1; return; fi;#All frames of these tests are returned as invalid...
+
for i in $numjobs; do
cleanupgw
lastif=can0
done
}
+ADDITIONAL_PLOTS=detail
+
plot_cmds() {
+ if [[ "$1" = detail ]]; then
+ range=0:0.4
+ echo "set logscale y"
+ echo "set mxtics 5"
+ else
+ range=0.01:1000
+ echo "set logscale xy"
+ fi
cat <<EOF
-set title "Chained GW jobs on multiple VCAN interfaces"
-set logscale y
-set grid
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
-plot [0:1000] [1:$COUNT] \\
+set title "Chained GWs on multiple VCAN interfaces"
+set grid xtics mxtics ytics mytics lw 1, lw 0.5
+set xlabel "GW latency [ms]"
+set ylabel "Latency profile [frames]"
+plot [$range] [1:$COUNT] \\
EOF
lt=1
for i in $numjobs; do