]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/ethloadsend.sh
Added TCP to labels in ethload*
[can-benchmark.git] / tests / ethloadsend.sh
index 9ba99a81a35def7f990ab3eca09785d78243d823..59c160afb3a215544ddb793ee7425bcedd1ea343 100755 (executable)
@@ -9,12 +9,13 @@ 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
 }
 
 
 
 p() { cat <<EOF
-set title "Round-trip time with send ethernet load"
+set title "Round-trip time with send ethernet load (TCP)"
 set logscale y
 set grid
 set xlabel "Time [ms]"