PERFORCE change 166226 for review
Zhao Shuai
zhaoshuai at FreeBSD.org
Sat Jul 18 13:04:20 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=166226
Change 166226 by zhaoshuai at zhaoshuai on 2009/07/18 13:03:22
adjust some parameters
Affected files ...
.. //depot/projects/soc2009/fifo/fifo_test/performance/runme.sh#4 edit
Differences ...
==== //depot/projects/soc2009/fifo/fifo_test/performance/runme.sh#4 (text+ko) ====
@@ -7,7 +7,7 @@
fi
echo -ne "\t"
-for num_msg in 1 10 100 1000 10000 100000
+for num_msg in 100 1000 5000 10000 100000
do
echo -ne "${num_msg}\t"
done
@@ -16,15 +16,15 @@
for msg_size in 64 128 256 512 1024 2048 4096
do
echo -ne "${msg_size}B\t"
- for num_msg in 1 10 100 1000 10000 100000
+ for num_msg in 100 1000 5000 10000 100000
do
sum=0
- for ((i = 0; i < 10; i++))
+ for ((i = 0; i < 100; i++))
do
time=`./benchmark $msg_size $num_msg`
sum=$(($time + $sum))
done
- avarage_time=$(($sum / 10))
+ avarage_time=$(($sum / 100))
echo -ne "${avarage_time}us\t"
done
echo ""
More information about the p4-projects
mailing list