]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/user.sh
Convert graphs to logarithmic time and make fixed ranges
[can-benchmark.git] / gw-tests / user.sh
index 6fedbda75301279cbaaa696b04dce5369cd38d8b..b6f1be280f5cf3efb198afb2048ce844e66bac31 100755 (executable)
@@ -15,11 +15,11 @@ main() {
 plot_cmds() {
     cat <<EOF
 set title "Kernel vs. userspace GW, no modifications"
-set logscale y
-set grid
-set xlabel "Time [{/Symbol m}s]"
+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:] [1:$COUNT] \
+plot [0.05:1000] [1:$COUNT] \
           "kern2-hist.txt" with lp lt 1 title "Kernel GW, 2 byte messages", \
           "kern8-hist.txt" with lp lt 2 title "Kernel GW, 8 byte messages", \
           "user2-hist.txt" with lp lt 1 title "Userspace GW, 2 byte messages", \