]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/ethload.sh
Add sleep after test with externally generated load
[can-benchmark.git] / tests / ethload.sh
index 41dd77704e9d54aac242349e385dd12d0447fa67..c584b946c0412e2bebd315839cd2d1db72390e83 100755 (executable)
@@ -13,6 +13,7 @@ t() {
            kill $PID_S
        fi
        kill $PID_LOAD
+       sleep 1 # Wait for remote buffers to become empty
     done
 }
 
@@ -22,7 +23,7 @@ p() { cat <<EOF
 set title "Round-trip time with receive 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-norm-1000.dat" with lp lt 1 title "Socketcan",\
           "lincan-norm-1000.dat" with lp lt 2 title "Lincan",\