Update ranges of graphs - to take into account substraction of tx time
authorMichal Sojka <sojka@os.inf.tu-dresden.de>
Sat, 24 Sep 2011 14:00:56 +0000 (16:00 +0200)
committerMichal Sojka <sojka@os.inf.tu-dresden.de>
Sat, 24 Sep 2011 14:00:56 +0000 (16:00 +0200)
gw-tests/filter-sff.sh
gw-tests/filter-time.sh
gw-tests/filter.sh
gw-tests/filterlen.sh
gw-tests/filterlenshort.sh
gw-tests/mod.sh
gw-tests/nop-highprio.sh
gw-tests/nop-time.sh
gw-tests/nop.sh

index 5162a24..53e9834 100755 (executable)
@@ -18,10 +18,10 @@ ADDITIONAL_PLOTS=detail
 
 plot_cmds() {
     if [[ "$1" = detail ]]; then
-       range=0.05:0.3
+       range=0.0:0.3
        echo "set logscale y"
     else
-       range=0.05:100
+       range=0.01:100
        echo "set logscale xy"
     fi
     cat <<EOF
index f338ab8..082e506 100755 (executable)
@@ -14,9 +14,9 @@ ADDITIONAL_PLOTS=detail
 
 plot_cmds() {
     if [[ "$1" = detail ]]; then
-       range=0.36:0.8
+       range=0:0.6
     else
-       range=0.05:100
+       range=0.01:100
        echo "set logscale y"
     fi
     min=$(head -n 1 id-0-msgs.txt | awk '{ print $2 }')
index e2141df..61d6e9c 100755 (executable)
@@ -19,10 +19,10 @@ ADDITIONAL_PLOTS=detail
 
 plot_cmds() {
     if [[ "$1" = detail ]]; then
-       range=0.36:0.8
+       range=0:0.8
        echo "set logscale y"
     else
-       range=0.05:100
+       range=0.01:100
        echo "set logscale xy"
     fi
     cat <<EOF
index f2b3cb0..1be5e59 100755 (executable)
@@ -19,10 +19,10 @@ ADDITIONAL_PLOTS=log
 
 plot_cmds() {
     if [[ "$1" = "" ]]; then
-       range=0.08:0.8
+       range=0.0:0.8
        echo "set logscale y"
     else
-       range=0.05:100
+       range=0.01:100
        echo "set logscale xy"
     fi
     cat <<EOF
index 05a1e5e..c2b86e8 100755 (executable)
@@ -18,10 +18,10 @@ ADDITIONAL_PLOTS=log
 
 plot_cmds() {
     if [[ "$1" = "" ]]; then
-       range=0.1:0.3
+       range=0:0.2
        echo "set logscale y"
     else
-       range=0.05:100
+       range=0.01:100
        echo "set logscale xy"
     fi
     cat <<EOF
index 4652b92..a5b8679 100755 (executable)
@@ -47,7 +47,7 @@ plot_cmds() {
        echo "set xlabel 'Time [{/Symbol m}s]'"
        using="using (\$1*1000):2"
     else
-       range=0.0:100
+       range=0.01:10
        echo "set logscale xy"
        echo "set xlabel 'Time [ms]'"
        using=""
index af75b93..13de911 100755 (executable)
@@ -29,7 +29,7 @@ set logscale xy
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
 set xlabel "Time [ms]"
 set ylabel "Latency profile [messages]"
-plot [0.05:100] [1:$COUNT] \
+plot [0.01:100] [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", \
index 9d6b262..570a782 100755 (executable)
@@ -10,9 +10,9 @@ ADDITIONAL_PLOTS=detail
 
 plot_cmds() {
     if [[ "$1" = detail ]]; then
-       range=0.06:0.3
+       range=0.0:0.3
     else
-       range=0.06:4
+       range=0.01:4
        echo "set logscale y"
     fi
     min=$(head -n 1 len2-msgs.txt | awk '{ print $2 }')
index bf51279..9a94fc4 100755 (executable)
@@ -14,10 +14,10 @@ ADDITIONAL_PLOTS=detail
 
 plot_cmds() {
     if [[ "$1" = detail ]]; then
-       range=0.06:0.4
+       range=0.0:0.25
        echo "set logscale y"
     else
-       range=0.05:100
+       range=0.01:100
        echo "set logscale xy"
     fi
     cat <<EOF