]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/mod.sh
No not plot so many jobs
[can-benchmark.git] / gw-tests / mod.sh
index a34241571509fe44955d159911e1656007e1533d..53d0116be5a0b56368a2e59beb793384c38b4843 100755 (executable)
@@ -37,14 +37,23 @@ main() {
     latester $LATESTER_OPTS -n modcscrc8
 }
 
+ADDITIONAL_PLOTS=detail
+
 plot_cmds() {
+    if [[ "$1" = detail ]]; then
+       range=0.14:0.2
+       echo "set logscale y"
+       echo "set key left bottom reverse Left"
+    else
+       range=0.05:100
+       echo "set logscale xy"
+    fi
     cat <<EOF
 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 grid xtics mxtics ytics mytics lw 1, lw 0.5
+set xlabel "Time [ms]"
 set ylabel "Latency profile [messages]"
-plot [0:600] [1:$COUNT] \
+plot [$range] [1:$COUNT] \
           "nop-hist.txt" with lp lt 1 title "No modifications", \
           "mod-hist.txt" with lp lt 2 title "Two modifications", \
           "mod2-hist.txt" with lp lt 3 title "Four modifications", \