X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/6d2010ae8f7a6078e10b361c6962983bab233e0f..2dced7af2b695f87fe26496a3e73c219b7880cbc:/tools/tests/execperf/test.sh?ds=sidebyside diff --git a/tools/tests/execperf/test.sh b/tools/tests/execperf/test.sh index 72917a719..7a8f31650 100755 --- a/tools/tests/execperf/test.sh +++ b/tools/tests/execperf/test.sh @@ -18,9 +18,10 @@ case "$PRODUCT" in ;; esac -for j in 1 2 3; do - for i in ${EXECUTABLES}; do - echo "Running $i" +for i in ${EXECUTABLES}; do + echo "Running $i" + for j in `jot $(sysctl -n hw.ncpu) 1`; do + printf "\t%dx\t" $j /usr/bin/time ./${RUN} $j $((${COUNT}/$j)) ./$i if [ $? -ne 0 ]; then echo "Failed $i, exit status $?"