]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Substract tx time also in time graphs
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 23 Sep 2011 23:00:20 +0000 (01:00 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 24 Sep 2011 12:46:27 +0000 (14:46 +0200)
gw-tests/filter-time.sh
gw-tests/nop-highprio-time.sh
gw-tests/nop-time.sh
gw-tests/user-time.sh

index 68dff873929e5643de368ff0281830efb261f353..f338ab85408ebfb462101b3a1d8fec6c14968562 100755 (executable)
@@ -29,7 +29,7 @@ plot [:] [$range] \\
 EOF
     lt=1
     for i in $ids; do
-       echo_plot "\"id-$i-msgs.txt\" using (\$2-$min):(1000*\$14) with points title \"Message id $i\""
+       echo_plot "\"id-$i-msgs.txt\" using (\$2-$min):(1000*\$14-0.001*\$16) with points title \"Message id $i\""
         lt=$((lt+1))
     done
 }
index ca998768077328894c8d6a0ebd25801c40d654f8..603304b04f6ee732f291e44bba0e69c9524d15c9 100755 (executable)
@@ -16,10 +16,10 @@ set key left
 set xlabel "Time [s]"
 set ylabel "Latency [ms]"
 plot [:] [0.06:4] \
-          "len2-msgs.txt" using (\$2-$min):(1000*\$14) with points title "2 byte messages", \
-          "len4-msgs.txt" using (\$2-$min):(1000*\$14) with points title "4 byte messages", \
-          "len6-msgs.txt" using (\$2-$min):(1000*\$14) with points title "6 byte messages", \
-          "len8-msgs.txt" using (\$2-$min):(1000*\$14) with points title "8 byte messages"
+          "len2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "2 byte messages", \
+          "len4-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "4 byte messages", \
+          "len6-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "6 byte messages", \
+          "len8-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "8 byte messages"
 EOF
 }
     
index eb6aa3e30e42ae774aab7baac026b3d81f8a2c96..9d6b2621d58e5cedc70e7ff3331e8726abaef69c 100755 (executable)
@@ -23,10 +23,10 @@ set key left
 set xlabel "Time [s]"
 set ylabel "Latency [ms]"
 plot [:] [$range] \
-          "len2-msgs.txt" using (\$2-$min):(1000*\$14) with points title "2 byte messages", \
-          "len4-msgs.txt" using (\$2-$min):(1000*\$14) with points title "4 byte messages", \
-          "len6-msgs.txt" using (\$2-$min):(1000*\$14) with points title "6 byte messages", \
-          "len8-msgs.txt" using (\$2-$min):(1000*\$14) with points title "8 byte messages"
+          "len2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "2 byte messages", \
+          "len4-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "4 byte messages", \
+          "len6-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "6 byte messages", \
+          "len8-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "8 byte messages"
 EOF
 }
     
index bf3310861a45e67fa0b661126420cc466ea56fa7..cb73de266c8aadd0c24ec659193007091c0d0782 100755 (executable)
@@ -28,10 +28,10 @@ set grid xtics ytics mytics lw 1, lw 0.5
 set xlabel "Time [s]"
 set ylabel "Latency [ms]"
 plot [:] [$range] \
-          "user2-msgs.txt" using (\$2-$min):(1000*\$14) with points title "Userspace GW, 2 byte messages", \
-          "user8-msgs.txt" using (\$2-$min):(1000*\$14) with points title "Userspace GW, 8 byte messages", \
-          "kern2-msgs.txt" using (\$2-$min):(1000*\$14) with points title "Kernel GW, 2 byte messages", \
-          "kern8-msgs.txt" using (\$2-$min):(1000*\$14) with points title "Kernel GW, 8 byte messages"
+          "user2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "Userspace GW, 2 byte messages", \
+          "user8-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "Userspace GW, 8 byte messages", \
+          "kern2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "Kernel GW, 2 byte messages", \
+          "kern8-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "Kernel GW, 8 byte messages"
 EOF
 }