]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/ethload.sh
Small fixes in graphs
[can-benchmark.git] / tests / ethload.sh
index 8aecd34a70169b582e8acdcca281758db7bcbc81..fd6eaf75ec7ab91b4b932173b2d3967a6409b046 100755 (executable)
@@ -18,15 +18,15 @@ t() {
 
 
 
-PLOT_CMD='
+p() { cat <<EOF
 set title "Round-trip time with receive ethernet load"
 set logscale y
 set grid
-set xlabel "Time [{/Symbol m}s]"
+set xlabel "Time [ms]"
 set ylabel "Latency profile [messages]"
 plot [0:] "socketcan-norm-1000.dat" with lp lt 1 title "Socketcan",\
           "lincan-norm-1000.dat" with lp lt 2 title "Lincan",\
           "socketcan-boost-1000.dat" with lp lt 1 title "Socketcan boosted IRQ prio",\
           "lincan-boost-1000.dat" with lp lt 2 title "Lincan boosted IRQ prio"
-'
-
+EOF
+}