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