X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/43d1fc38b83d1aadfd22263a5930caaf8e0c584c..d7bb032df88025c5ac1b0beee0ec9d845e6415d6:/gw-tests/filter.sh diff --git a/gw-tests/filter.sh b/gw-tests/filter.sh index 9abe307..4a24c71 100755 --- a/gw-tests/filter.sh +++ b/gw-tests/filter.sh @@ -4,8 +4,11 @@ ids="0 $(seq 255 256 2047)" -main() { +prepare() { sshgw 'for i in `seq 0 2047`; do cangw -A -s can0 -d can1 -f $(printf %x $i):7ff; done' +} + +main() { for i in $ids; do latester -d can0 -d can1 -d can2 -c $COUNT -i $i $(traffic_and_length 2) -n id-$i done @@ -18,7 +21,7 @@ set logscale y set grid set xlabel "Time [{/Symbol m}s]" set ylabel "Latency profile [messages]" -plot [0:1500] [1:$COUNT] \\ +plot [0:] [1:$COUNT] \\ EOF lt=1 for i in $ids; do