projects
/
can-benchmark.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
latester update
[can-benchmark.git]
/
gw-tests
/
gw-nop.sh
1
#!/bin/bash
2
3
. lib.sh
4
5
main() {
6
gw="cangw -A -s can0 -d can1"
7
sshgw $gw
8
latester -d can0 -d can1 -d can2 -o -c $COUNT -h hist.dat -f time.dat
9
}
10
11
plot_cmds() {
12
cat <<EOF
13
set title "$gw"
14
set logscale y
15
set grid
16
set xlabel "Time [{/Symbol m}s]"
17
set ylabel "Latency profile [messages]"
18
plot [0:1000] [1:$COUNT] \
19
"hist.dat" with lp lt 1 title ""
20
EOF
21
}
22
23
test_end
24