-Subproject commit e746bdc0fa1b65c87d0f9e87e2bd5d202ea72de3
+Subproject commit c6909617dbb0c2b519fb23c1d9c6ec8c95b4484e
set title "Round-trip time"
set logscale y
set grid
-set xlabel "Time [{/Symbol m}s]"
+set xlabel "Time [ms]"
set ylabel "Latency profile [messages]"
plot [0:] "socketcan-1000.dat" with lp title "Socketcan",\
"lincan-1000.dat" with lp title "Lincan"
set logscale y
set grid
set xlabel "Ping number"
-set ylabel "Round-trip time [{/Symbol m}s]"
+set ylabel "Round-trip time [ms]"
plot "socketcan-times-1000.dat" with lines, "lincan-times-1000.dat" with lines
'
set logscale y
set grid
set xlabel "Ping number"
-set ylabel "Round-trip time [{/Symbol m}s]"
+set ylabel "Round-trip time [ms]"
plot "../00-rtt/socketcan-times-1000.dat" with lines, "../00-rtt/lincan-times-1000.dat" with lines
EOF
}
RTPRIO=${RTPRIO:-60}
COUNT=${COUNT:-10000}
+export CANPING_MS=1 # Generate plots in milliseconds
boost_irq_prio() {
local PRIO=${1:-50}
set title "Round-trip time with ethernet load - ping -f"
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",\
set title "Round-trip time with ethernet load (ping -fs 64000) 2ms wait between sends"
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",\
set title "Round-trip time with ethernet load - ping -fs 64000"
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",\
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",\
set title "Round-trip time with send 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-1000.dat" with lp title "Socketcan",\
"lincan-1000.dat" with lp title "Lincan"
set title 'RTT of highest prio message when opened $C times (`uname -r`)'
set logscale y
set grid
-set xlabel 'Time [{/Symbol m}s]'
+set xlabel 'Time [ms]'
set ylabel 'Latency profile [messages]'
plot [0:] 'socketcan-1000.dat' with lp title 'Socketcan',\
'lincan-1000.dat' with lp title 'Lincan'
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"
set title "Round-trip time depending on delay between sends"
set logscale y
set grid
-set xlabel "Time [{/Symbol m}s]"
+set xlabel "Time [ms]"
set ylabel "Latency profile [messages]"
plot [0:] "socketcan-0-1000.dat" with lp lt 1 title "Socketcan 0",\
"lincan-0-1000.dat" with lp lt 2 title "Lincan 0",\