]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/user-time.sh
Substract tx time also in time graphs
[can-benchmark.git] / gw-tests / user-time.sh
index e981d1a4d6a845047c20f2dc3bc1480b53007e3d..cb73de266c8aadd0c24ec659193007091c0d0782 100755 (executable)
@@ -23,15 +23,15 @@ plot_cmds() {
        min=$(head -n 1 user8-msgs.txt | awk '{ print $2 }')
     fi
     cat <<EOF
-set title "Single GW job for all messages, no modifications"
+set title "Single GW rule for all messages, no modifications"
 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
 }