]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/ethflood.sh
Convert plot commands to be returned by function p()
[can-benchmark.git] / tests / ethflood.sh
index 628856ecbb36b7c23a4c8ba7c53d31db9ef2e323..cdad2cd2e739bc60b5e10996d73ef11fee04f45d 100755 (executable)
@@ -18,7 +18,7 @@ t() {
 
 
 
 
 
 
-PLOT_CMD='
+p() { cat <<EOF
 set title "Round-trip time with ethernet load - ping -f"
 set logscale y
 set grid
 set title "Round-trip time with ethernet load - ping -f"
 set logscale y
 set grid
@@ -28,5 +28,5 @@ 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"
           "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
+}