]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/ethloadsend.sh
HTML report + many modifications
[can-benchmark.git] / tests / ethloadsend.sh
index a72020263a2799903ea4d5df54204c58b7c383a4..8a9fc166876f68f3f12bfef87400355cc336d3c1 100755 (executable)
@@ -3,18 +3,18 @@
 . _lib.sh
 
 t() {
 . _lib.sh
 
 t() {
-    ( find -L /usr/src/linux -type f -exec cat '{}' ';'|ssh root@${SSH_CONNECTION%% *} 'cat > /dev/null' ) &
+    find -L /usr/src/linux -type f -exec cat '{}' ';'|ssh root@${SSH_CONNECTION%% *} 'cat > /dev/null' &
     PID_LOAD=$!
     PID_S=`vca_canping -s 1 -b -R FF:$RTPRIO -d $CAN1`
     PID_LOAD=$!
     PID_S=`vca_canping -s 1 -b -R FF:$RTPRIO -d $CAN1`
-    vca_canping -m 1 -R FF:$RTPRIO FF:$RTPRIO -v -g $DRIVER -t 1 -d $CAN0 -w 2 -c 10000
+    vca_canping -m 1 -R FF:$RTPRIO -v -g $DRIVER -t 1 -d $CAN0 -w 0 -c $COUNT
     kill $PID_S
     kill $PID_S
-    kill $PID_LOAD
+    kill %%  # Kill the whole pipe above
 }
 
 
 
 PLOT_CMD='
 }
 
 
 
 PLOT_CMD='
-set title "Round-trip time with receive ethenet load (`uname -r`)"
+set title "Round-trip time with send ethernet load"
 set logscale y
 set grid
 set xlabel "Time [{/Symbol m}s]"
 set logscale y
 set grid
 set xlabel "Time [{/Symbol m}s]"