]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Graph are are in milliseconds to be more readable
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 28 Aug 2009 07:28:07 +0000 (09:28 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 28 Aug 2009 07:28:07 +0000 (09:28 +0200)
12 files changed:
canping
tests/00-rtt.sh
tests/01-rtt-history.sh
tests/_lib.sh
tests/ethflood.sh
tests/ethflood64k-w2.sh
tests/ethflood64k.sh
tests/ethload.sh
tests/ethloadsend.sh
tests/rtt-overload.sh.xxx
tests/rtt-virtual.sh
tests/rtt-w.sh

diff --git a/canping b/canping
index e746bdc0fa1b65c87d0f9e87e2bd5d202ea72de3..c6909617dbb0c2b519fb23c1d9c6ec8c95b4484e 160000 (submodule)
--- a/canping
+++ b/canping
@@ -1 +1 @@
-Subproject commit e746bdc0fa1b65c87d0f9e87e2bd5d202ea72de3
+Subproject commit c6909617dbb0c2b519fb23c1d9c6ec8c95b4484e
index f79a06cd8bd4fcb28ba2cfa7b259308ded42fe49..84cfbadc13c0ca769b4bbb9c711ac144c10bc129 100755 (executable)
@@ -14,7 +14,7 @@ p() { cat <<EOF
 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"
@@ -26,6 +26,6 @@ set title "Round-trip time history"
 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
 '
index 23d0a4ad6fdc1e04b8c383e5ae0c901c33874491..5d48ef55e5b04646cb3f2c02d196c933f86d4558 100755 (executable)
@@ -12,7 +12,7 @@ set title "Round-trip time history"
 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
 }
index 3009a884a87d186e64780f5db643849f4fd9403d..4683be5546d938ac2125926488dbde6a7556341a 100644 (file)
@@ -13,6 +13,7 @@ PATH=$PWD/../_compiled/bin/:$PATH
 
 RTPRIO=${RTPRIO:-60}
 COUNT=${COUNT:-10000}
+export CANPING_MS=1            # Generate plots in milliseconds
 
 boost_irq_prio() {
     local PRIO=${1:-50}
index cdad2cd2e739bc60b5e10996d73ef11fee04f45d..c54e0d03f95615660d593c3c2176c0b1f55ae4ff 100755 (executable)
@@ -22,7 +22,7 @@ p() { cat <<EOF
 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",\
index 5e044e87df95c0c7b23ade633a63971cb0a9f752..dcda4e04c00ae8759357ebf98c9888a58a388278 100755 (executable)
@@ -22,7 +22,7 @@ p() { cat <<EOF
 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",\
index 716a466ca7a95e71f33917e9ad5fc070f2b435ed..98ea4fd2f7dd65f0dae3ab371dc2a2fd69f5ac28 100755 (executable)
@@ -22,7 +22,7 @@ p() { cat <<EOF
 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",\
index 41dd77704e9d54aac242349e385dd12d0447fa67..fd6eaf75ec7ab91b4b932173b2d3967a6409b046 100755 (executable)
@@ -22,7 +22,7 @@ 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",\
index 0c3f7390a3b79da99d8a86cdbdcb3cf7242ee119..9ba99a81a35def7f990ab3eca09785d78243d823 100755 (executable)
@@ -17,7 +17,7 @@ p() { cat <<EOF
 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"
index e0dea5362d770c83d76d36d9643b192ae2592a10..fbda22e1cdea7472a16f1aca9ffad2c823af7f78 100755 (executable)
@@ -18,7 +18,7 @@ PLOT_CMD="
 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'
index 1762d33fff4d411aaaa857e63195e1fdad014e2b..70249cbfd6c536838e4a2af02df286654fc9e10b 100755 (executable)
@@ -14,7 +14,7 @@ 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"
index accca40915ddaf4b6596fb1cba9402e3b2e7befc..7e908c3f0554e4147165ac32bb4ee084592026ac 100755 (executable)
@@ -16,7 +16,7 @@ p() { cat <<EOF
 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",\