X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/43d1fc38b83d1aadfd22263a5930caaf8e0c584c..0067509575642daf871e95388be79ae95ad33d70:/gw-tests/filter.sh diff --git a/gw-tests/filter.sh b/gw-tests/filter.sh index 9abe307..51a8114 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 @@ -16,9 +19,9 @@ plot_cmds() { set title "2048 GW jobs (one per id, mask 0x7FF), no modifications" set logscale y set grid -set xlabel "Time [{/Symbol m}s]" +set xlabel "Time [ms]" set ylabel "Latency profile [messages]" -plot [0:1500] [1:$COUNT] \\ +plot [0:] [1:$COUNT] \\ EOF lt=1 for i in $ids; do