]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Generate detail of filter-sff
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 12 Dec 2010 16:13:05 +0000 (17:13 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 12 Dec 2010 16:13:05 +0000 (17:13 +0100)
gw-tests/filter-sff.sh

index 2e544d77cb443c524bb47f53687da0b9c6bd895d..15ac60088d0bc86eec7bdbacd65f18ca5177c6ff 100755 (executable)
@@ -14,14 +14,22 @@ main() {
     done
 }
 
     done
 }
 
+ADDITIONAL_PLOTS=detail
+
 plot_cmds() {
 plot_cmds() {
+    if [[ "$1" = detail ]]; then
+       range=0.05:0.3
+       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 C00007FF), no modifications"
     cat <<EOF
 set title "2048 GW jobs (one per id, mask C00007FF), no modifications"
-set logscale xy
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
 set xlabel "Time [ms]"
 set ylabel "Latency profile [messages]"
 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] \\
+plot [$range] [1:$COUNT] \\
 EOF
     lt=1
     for i in $ids; do
 EOF
     lt=1
     for i in $ids; do