]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/ethloadsend.sh
Add sleep after test with externally generated load
[can-benchmark.git] / tests / ethloadsend.sh
index 0c3f7390a3b79da99d8a86cdbdcb3cf7242ee119..1c41345d26d173f0f04f7299a27a6fede2d14344 100755 (executable)
@@ -9,6 +9,7 @@ t() {
     vca_canping -m 1 -R FF:$RTPRIO -v -g $DRIVER -t 1 -d $CAN0 -w 0 -c $COUNT
     kill $PID_S
     kill %%  # Kill the whole pipe above
+    sleep 1 # Wait for ethernet buffers to become empty
 }
 
 
@@ -17,7 +18,7 @@ p() { cat <<EOF
 set title "Round-trip time with send ethernet load"
 set logscale y
 set grid
-set xlabel "Time [{/Symbol m}s]"
+set xlabel "Time [ms]"
 set ylabel "Latency profile [messages]"
 plot [0:] "socketcan-1000.dat" with lp title "Socketcan",\
           "lincan-1000.dat" with lp title "Lincan"