]> rtime.felk.cvut.cz Git - can-benchmark.git/blob - ugw/bench.sh
Final benchmark
[can-benchmark.git] / ugw / bench.sh
1 #!/bin/bash -x
2
3 set -e
4
5 #./ppc/boot
6
7 ssh glab "latester -d can0 -d can1 -d can2 -c 10000 -n ugw -p 60 -v"
8 scp glab:ugw-hist.txt .
9
10 gnuplot <<'EOF'
11 set title "Single GW rule for all messages, no modifications"
12 set grid xtics mxtics ytics mytics lw 1, lw 0.5
13 set xlabel "GW latency [µs]"
14 set ylabel "Latency profile [frames]"
15 plot [:] [1:] \
16           "ugw-hist.txt" using (1000*$1):2 with lp lt 1 title "UGW"
17 EOF