]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/filter-sff.sh
Fix compiler warnings
[can-benchmark.git] / gw-tests / filter-sff.sh
index 2e544d77cb443c524bb47f53687da0b9c6bd895d..cfb800f9a91b5067efd0198c04db0bdbf4d098c9 100755 (executable)
@@ -14,14 +14,22 @@ main() {
     done
 }
 
+ADDITIONAL_PLOTS=detail
+
 plot_cmds() {
+    if [[ "$1" = detail ]]; then
+       range=0.0:0.3
+       echo "set logscale y"
+    else
+       range=0.01:100
+       echo "set logscale xy"
+    fi
     cat <<EOF
-set title "2048 GW jobs (one per id, mask C00007FF), no modifications"
-set logscale xy
+set title "2048 GW rules (one per id, mask C00007FF), no modifications"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
-plot [0.05:50] [1:$COUNT] \\
+set xlabel "GW latency [ms]"
+set ylabel "Latency profile [frames]"
+plot [$range] [1:$COUNT] \\
 EOF
     lt=1
     for i in $ids; do