]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/pc.sh
No not plot so many jobs
[can-benchmark.git] / gw-tests / pc.sh
index 11b8d3b215d6c124ca4ba28562a2292a4e9649c5..afec393a8597a310c020a2da480dfbec976a0ee7 100755 (executable)
@@ -10,13 +10,16 @@ main() {
 }
 
 plot_cmds() {
+    max=0.5
+    if [ $traffic = "flood" ]; then max=35; fi
+
     cat <<EOF
 set title "No GW, two interfaces in PC"
 set logscale y
 set grid
-set xlabel "Time [{/Symbol m}s]"
+set xlabel "Time [ms]"
 set ylabel "Latency profile [messages]"
-plot [0:600] [1:$COUNT] \
+plot [0.01:$max] [1:$COUNT] \
           "len2-hist.txt" with lp lt 1 title "2 byte messages", \
           "len4-hist.txt" with lp lt 2 title "4 byte messages", \
           "len6-hist.txt" with lp lt 3 title "6 byte messages", \