]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/filter.sh
Remove the word "job" from graph titles
[can-benchmark.git] / gw-tests / filter.sh
index 4a24c716dd95e05353ba7b58679e7528fe71319c..b62fc9d2e25ddaa1b44524d4c20495bce8bbb7fd 100755 (executable)
@@ -14,14 +14,22 @@ main() {
     done
 }
 
+ADDITIONAL_PLOTS=detail
+
 plot_cmds() {
+    if [[ "$1" = detail ]]; then
+       range=0.36:0.8
+       echo "set logscale y"
+    else
+       range=0.05:100
+       echo "set logscale xy"
+    fi
     cat <<EOF
-set title "2048 GW jobs (one per id, mask 0x7FF), no modifications"
-set logscale y
-set grid
-set xlabel "Time [{/Symbol m}s]"
+set title "2048 GW rules (one per id, mask 0x7FF), no modifications"
+set grid xtics mxtics ytics mytics lw 1, lw 0.5
+set xlabel "Time [ms]"
 set ylabel "Latency profile [messages]"
-plot [0:] [1:$COUNT] \\
+plot [$range] [1:$COUNT] \\
 EOF
     lt=1
     for i in $ids; do