]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/rtt-virtual.sh
Add support for setting socketcan by ip tool
[can-benchmark.git] / tests / rtt-virtual.sh
index cf8cca43cbb3ae73d40b8f2eff0d106d8d579908..70249cbfd6c536838e4a2af02df286654fc9e10b 100755 (executable)
@@ -10,13 +10,13 @@ t() {
 
 TESTS="lincan_virtual socketcan_virtual"
 
-PLOT_CMD='
+p() { cat <<EOF
 set title "Round-trip time - virtual CAN"
 set logscale y
 set grid
-set xlabel "Time [{/Symbol m}s]"
+set xlabel "Time [ms]"
 set ylabel "Latency profile [messages]"
 plot [0:] "socketcan-virtual-1000.dat" with lp title "Socketcan",\
           "lincan-virtual-1000.dat" with lp title "Lincan"
-'
-
+EOF
+}