projects
/
can-benchmark.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Makefile to regenerate graph only when some dependency changes
[can-benchmark.git]
/
gw-tests
/
filter-sff.sh
diff --git
a/gw-tests/filter-sff.sh
b/gw-tests/filter-sff.sh
index
f0fe0a8
..
a57d25f
100755
(executable)
--- a/
gw-tests/filter-sff.sh
+++ b/
gw-tests/filter-sff.sh
@@
-2,18
+2,18
@@
. lib.sh
. lib.sh
-ids=
$(seq 0 256 2047)
+ids=
"0 $(seq 255 256 2047)"
main() {
sshgw 'for i in `seq 0 2047`; do cangw -A -s can0 -d can1 -f $(printf %x $i):c00007ff; done'
for i in $ids; do
main() {
sshgw 'for i in `seq 0 2047`; do cangw -A -s can0 -d can1 -f $(printf %x $i):c00007ff; done'
for i in $ids; do
- latester -d can0 -d can1 -d can2 -
o -c $COUNT -i $i -h hist-$i.dat -f time-$i.dat
+ latester -d can0 -d can1 -d can2 -
c $COUNT -i $i $(traffic_and_length 2) -n id-$i
done
}
plot_cmds() {
cat <<EOF
done
}
plot_cmds() {
cat <<EOF
-set title "
Single GW, no modifications, 2048 filters (one per id, mask C00007FF)
"
+set title "
2048 GW jobs (one per id, mask C00007FF), no modifications
"
set logscale y
set grid
set xlabel "Time [{/Symbol m}s]"
set logscale y
set grid
set xlabel "Time [{/Symbol m}s]"
@@
-22,7
+22,7
@@
plot [0:1500] [1:$COUNT] \\
EOF
lt=1
for i in $ids; do
EOF
lt=1
for i in $ids; do
- echo_plot "\"
hist-$i.da
t\" with lp lt $lt title \"Message id $i\""
+ echo_plot "\"
id-$i-hist.tx
t\" with lp lt $lt title \"Message id $i\""
lt=$((lt+1))
done
echo
lt=$((lt+1))
done
echo