]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/pc.sh
Plotting reworked
[can-benchmark.git] / gw-tests / pc.sh
index 06601fcf3ead32342581559e5f703dadfa05feea..62180f0ed4b20d1a6adc17d36779e17a2e89dc20 100755 (executable)
@@ -3,15 +3,15 @@
 . lib.sh
 
 main() {
-    latester -d can0 -d can1 -o -c $COUNT -l 2 -h hist2.dat -f time2.dat
-    latester -d can0 -d can1 -o -c $COUNT -l 4 -h hist4.dat -f time4.dat
-    latester -d can0 -d can1 -o -c $COUNT -l 6 -h hist6.dat -f time6.dat
-    latester -d can0 -d can1 -o -c $COUNT -l 8 -h hist8.dat -f time8.dat
+    latester -d can0 -d can1 -c $COUNT $(traffic_and_length 2) -h hist2.dat -f time2.dat
+    latester -d can0 -d can1 -c $COUNT $(traffic_and_length 4) -h hist4.dat -f time4.dat
+    latester -d can0 -d can1 -c $COUNT $(traffic_and_length 6) -h hist6.dat -f time6.dat
+    latester -d can0 -d can1 -c $COUNT $(traffic_and_length 8) -h hist8.dat -f time8.dat
 }
 
 plot_cmds() {
     cat <<EOF
-set title "No GW, two interfaces"
+set title "No GW, two interfaces in PC"
 set logscale y
 set grid
 set xlabel "Time [{/Symbol m}s]"