]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/mod.sh
genhtml: Add Space class
[can-benchmark.git] / gw-tests / mod.sh
index 3edcbfed052286b2afe7a49897c4fa81c152bd6b..ea6a62befe2464b9ca3491cedd80d69a868785c8 100755 (executable)
@@ -2,9 +2,10 @@
 
 . lib.sh
 
-LATESTER_OPTS="-d can0 -d can1 -d can2 -o -l 8 -c $COUNT"
 
 main() {
+    LATESTER_OPTS="-d can0 -d can1 -d can2 $(traffic_and_length 8) -c $COUNT"
+
     sshgw cangw -A -s can0 -d can1
     latester $LATESTER_OPTS -h hist.dat -f time.dat
 
@@ -38,12 +39,12 @@ main() {
 
 plot_cmds() {
     cat <<EOF
-set title "Single GW, with modifications, no filters, 8 byte messages"
+set title "Single GW job for all messages with modifications, 8 byte messages"
 set logscale y
 set grid
 set xlabel "Time [{/Symbol m}s]"
 set ylabel "Latency profile [messages]"
-plot [0:] [1:$COUNT] \
+plot [0:600] [1:$COUNT] \
           "hist.dat" with lp lt 1 title "No modifications", \
           "hist-mod.dat" with lp lt 2 title "Two modifications", \
           "hist-mod2.dat" with lp lt 3 title "Four modifications", \