]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Update graph axis labels
authorMichal Sojka <sojka@os.inf.tu-dresden.de>
Thu, 29 Sep 2011 19:46:41 +0000 (21:46 +0200)
committerMichal Sojka <sojka@os.inf.tu-dresden.de>
Thu, 29 Sep 2011 19:46:41 +0000 (21:46 +0200)
12 files changed:
gw-tests/filter-sff.sh
gw-tests/filter.sh
gw-tests/filterlen.sh
gw-tests/filterlenshort.sh
gw-tests/mod.sh
gw-tests/nop-canalyzer.sh
gw-tests/nop-highprio.sh
gw-tests/nop.sh
gw-tests/pc.sh
gw-tests/user.sh
gw-tests/vcan.sh
gw-tests/vcans.sh

index 53e98347aaaf5adc98b908aeb48b9790c72c296d..cfb800f9a91b5067efd0198c04db0bdbf4d098c9 100755 (executable)
@@ -27,8 +27,8 @@ plot_cmds() {
     cat <<EOF
 set title "2048 GW rules (one per id, mask C00007FF), no modifications"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
     cat <<EOF
 set title "2048 GW rules (one per id, mask C00007FF), no modifications"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
+set xlabel "GW latency [ms]"
+set ylabel "Latency profile [frames]"
 plot [$range] [1:$COUNT] \\
 EOF
     lt=1
 plot [$range] [1:$COUNT] \\
 EOF
     lt=1
index 61d6e9c258d5ee45616b688fba5f688968a81a19..1222022ccc5bd306913ed8425690c54f3445466c 100755 (executable)
@@ -28,8 +28,8 @@ plot_cmds() {
     cat <<EOF
 set title "2048 GW rules (one per id, mask 0x7FF), no modifications"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
     cat <<EOF
 set title "2048 GW rules (one per id, mask 0x7FF), no modifications"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
+set xlabel "GW latency [ms]"
+set ylabel "Latency profile [frames]"
 plot [$range] [1:$COUNT] \\
 EOF
     lt=1
 plot [$range] [1:$COUNT] \\
 EOF
     lt=1
index 1be5e5920a15cf87e85b43bee029d6ae13202f87..c5ae06159e79e778b1b4d9bd8a197e33d7607393 100755 (executable)
@@ -28,8 +28,8 @@ plot_cmds() {
     cat <<EOF
 set title "Different lengths of filter list, only the last one matches"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
     cat <<EOF
 set title "Different lengths of filter list, only the last one matches"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
+set xlabel "GW latency [ms]"
+set ylabel "Latency profile [frames]"
 plot [$range] [1:$COUNT] \\
 EOF
     lt=1
 plot [$range] [1:$COUNT] \\
 EOF
     lt=1
index c2b86e859f2c92aa2bdd26f4c1170a20630b7d95..553789d359d4d35c8ff2306d2f2f20f8ec43b296 100755 (executable)
@@ -27,8 +27,8 @@ plot_cmds() {
     cat <<EOF
 set title "Different lengths of filter list, only the last one matches"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
     cat <<EOF
 set title "Different lengths of filter list, only the last one matches"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
+set xlabel "GW latency [ms]"
+set ylabel "Latency profile [frames]"
 plot [$range] [1:$COUNT] \\
 EOF
     lt=1
 plot [$range] [1:$COUNT] \\
 EOF
     lt=1
index 7d372ae72add3ba988531145a712614d14b40df0..2aa64417b21bb4b6da59a4771e69ff5ddf906bbe 100755 (executable)
@@ -49,13 +49,13 @@ plot_cmds() {
     else
        range=0.01:10
        echo "set logscale xy"
     else
        range=0.01:10
        echo "set logscale xy"
-       echo "set xlabel 'Time [ms]'"
+       echo "set xlabel 'GW latency [ms]'"
        using=""
     fi
     cat <<EOF
 set title "Single GW rule for all messages with modifications, 8 byte messages"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
        using=""
     fi
     cat <<EOF
 set title "Single GW rule for all messages with modifications, 8 byte messages"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set ylabel "Latency profile [messages]"
+set ylabel "Latency profile [frames]"
 plot [$range] [1:$COUNT] \\
           "nop-hist.txt" $using with lp lt 1 title "No modifications", \\
           "mod-hist.txt" $using with lp lt 2 title "Two modifications", \\
 plot [$range] [1:$COUNT] \\
           "nop-hist.txt" $using with lp lt 1 title "No modifications", \\
           "mod-hist.txt" $using with lp lt 2 title "Two modifications", \\
index 045c83d5298e54ef88ac02138b7aa473e6e8142d..8a352deee5558f20cc5a0e00b3735e649f52b32f 100755 (executable)
@@ -35,8 +35,8 @@ plot_cmds() {
 set title "Measurment precission: PC versus CANalyzer"
 set termoption dashed
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
 set title "Measurment precission: PC versus CANalyzer"
 set termoption dashed
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
+set xlabel "Total latency [ms]"
+set ylabel "Latency profile [frames]"
 plot [$range] [1:$COUNT] \\
           "len2-hist.txt" with lp lc 1 lt 1 title "PC: 2 byte messages", \\
           "len4-hist.txt" with lp lc 2 lt 1 title "PC: 4 byte messages", \\
 plot [$range] [1:$COUNT] \\
           "len2-hist.txt" with lp lc 1 lt 1 title "PC: 2 byte messages", \\
           "len4-hist.txt" with lp lc 2 lt 1 title "PC: 4 byte messages", \\
index a13e003ebb7d5863052e65f2bcb0a92988f595e6..f9bde2f9d8670ce04c7fde6ceadf5d8290901fe5 100755 (executable)
@@ -27,8 +27,8 @@ plot_cmds() {
 set title "Single GW rule for all messages, no modifications, high (soft)irq task priority"
 set logscale xy
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
 set title "Single GW rule for all messages, no modifications, high (soft)irq task priority"
 set logscale xy
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
+set xlabel "GW latency [ms]"
+set ylabel "Latency profile [frames]"
 plot [0.01:100] [1:$COUNT] \\
           "len2-hist.txt" with lp lt 1 title "2 byte messages", \\
           "len4-hist.txt" with lp lt 2 title "4 byte messages", \\
 plot [0.01:100] [1:$COUNT] \\
           "len2-hist.txt" with lp lt 1 title "2 byte messages", \\
           "len4-hist.txt" with lp lt 2 title "4 byte messages", \\
index 5e4bfc1ff03382808b356f3478b76873077120de..06e646f00af30ca72f1f851df1def9a3072c82e9 100755 (executable)
@@ -23,8 +23,8 @@ plot_cmds() {
     cat <<EOF
 set title "Single GW rule for all messages, no modifications"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
     cat <<EOF
 set title "Single GW rule for all messages, no modifications"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
+set xlabel "GW latency [ms]"
+set ylabel "Latency profile [frames]"
 plot [$range] [1:$COUNT] \\
           "len2-hist.txt" with lp lt 1 title "2 byte messages", \\
           "len4-hist.txt" with lp lt 2 title "4 byte messages", \\
 plot [$range] [1:$COUNT] \\
           "len2-hist.txt" with lp lt 1 title "2 byte messages", \\
           "len4-hist.txt" with lp lt 2 title "4 byte messages", \\
index 9d20d3beac13e1a66afb366730467b7976edf052..b32ecc110a27401691bb46f954a10630418c7dcd 100755 (executable)
@@ -17,8 +17,8 @@ plot_cmds() {
 set title "No GW, two interfaces in PC (Latency = t_{kernel RX} - t_{before send} - t_{TX length})"
 set logscale y
 set grid
 set title "No GW, two interfaces in PC (Latency = t_{kernel RX} - t_{before send} - t_{TX length})"
 set logscale y
 set grid
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
+set xlabel "Latency [ms]"
+set ylabel "Latency profile [frames]"
 plot [0.01:$max] [1:$COUNT] \\
           "len2-hist.txt" with lp lt 1 title "2 byte messages", \\
           "len4-hist.txt" with lp lt 2 title "4 byte messages", \\
 plot [0.01:$max] [1:$COUNT] \\
           "len2-hist.txt" with lp lt 1 title "2 byte messages", \\
           "len4-hist.txt" with lp lt 2 title "4 byte messages", \\
index c5cea0a98013db3b5b1afb9acdd51e80e1f6e367..984a28d6e90e46ce7c2b3268cc96abee5e8c09a0 100755 (executable)
@@ -33,8 +33,8 @@ set style line 3 lt 1 lc 2 pt 2
 set style line 4 lt 2 lc 2 pt 2
 set title "Kernel vs. userspace GW, no modifications"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
 set style line 4 lt 2 lc 2 pt 2
 set title "Kernel vs. userspace GW, no modifications"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
+set xlabel "GW latency [ms]"
+set ylabel "Latency profile [frames]"
 plot [$range] [1:$COUNT] \\
           "user2-hist.txt" with lp ls 1 title "Userspace GW, 2 byte messages", \\
           "user8-hist.txt" with lp ls 2 title "Userspace GW, 8 byte messages", \\
 plot [$range] [1:$COUNT] \\
           "user2-hist.txt" with lp ls 1 title "Userspace GW, 2 byte messages", \\
           "user8-hist.txt" with lp ls 2 title "Userspace GW, 8 byte messages", \\
index 5dcb81206cce5ec37105816a0057056ee6ba047e..e55d18c94608027405cb72e226c1d325b1612159 100755 (executable)
@@ -34,8 +34,8 @@ plot_cmds() {
     cat <<EOF
 set title "Chained GWs on a single VCAN interface"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
     cat <<EOF
 set title "Chained GWs on a single VCAN interface"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
+set xlabel "GW latency [ms]"
+set ylabel "Latency profile [frames]"
 plot [$range] [1:$COUNT] \\
 EOF
     lt=2
 plot [$range] [1:$COUNT] \\
 EOF
     lt=2
index 82a2fed1ecf5346bea3a153489ff212eb649248f..65fc5b8e4c1e328a6ec0493de2330e63cb5760b1 100755 (executable)
@@ -34,8 +34,8 @@ plot_cmds() {
     cat <<EOF
 set title "Chained GWs on multiple VCAN interfaces"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
     cat <<EOF
 set title "Chained GWs on multiple VCAN interfaces"
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [ms]"
-set ylabel "Latency profile [messages]"
+set xlabel "GW latency [ms]"
+set ylabel "Latency profile [frames]"
 plot [$range] [1:$COUNT] \\
 EOF
     lt=1
 plot [$range] [1:$COUNT] \\
 EOF
     lt=1