From: Michal Sojka Date: Wed, 1 Dec 2010 14:45:45 +0000 (+0100) Subject: Make vcan and vcans tests comparable X-Git-Tag: fix-allnoconfig~282 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/29234aa6f86d4013f3abff57afaf9058272f7f09 Make vcan and vcans tests comparable --- diff --git a/gw-tests/vcan.sh b/gw-tests/vcan.sh index 7d01e82..a96cac4 100755 --- a/gw-tests/vcan.sh +++ b/gw-tests/vcan.sh @@ -2,7 +2,7 @@ . lib.sh -numjobs=`seq 0 2 10` +numjobs=`seq 0 2 12` main() { sshgw 'ip link add dev vcan0 type vcan && ip link set vcan0 up' @@ -28,9 +28,9 @@ set xlabel "Time [{/Symbol m}s]" set ylabel "Latency profile [messages]" plot [0:1000] [1:$COUNT] \\ EOF - lt=1 + lt=2 for i in $numjobs; do - echo_plot "\"hist-$i.dat\" with lp lt $lt title \"$i GW jobs on vcan\"" + echo_plot "\"hist-$i.dat\" with lp lt $lt title \"$((i+2)) GW jobs, 1 vcan\"" lt=$((lt+1)) done } diff --git a/gw-tests/vcans.sh b/gw-tests/vcans.sh index 153529d..6c3cada 100755 --- a/gw-tests/vcans.sh +++ b/gw-tests/vcans.sh @@ -2,7 +2,7 @@ . lib.sh -numjobs=`seq 1 2 10` +numjobs=" 1 `seq 2 2 10`" main() { for i in $numjobs; do @@ -30,7 +30,7 @@ plot [0:1000] [1:$COUNT] \\ EOF lt=1 for i in $numjobs; do - echo_plot "\"hist-$i.dat\" with lp lt $lt title \"$i GW jobs\"" + echo_plot "\"hist-$i.dat\" with lp lt $lt title \"$i GW jobs, $((i-1)) vcans\"" lt=$((lt+1)) done }