]> git.saurik.com Git - apple/xnu.git/blobdiff - tools/tests/execperf/test.sh
xnu-3247.10.11.tar.gz
[apple/xnu.git] / tools / tests / execperf / test.sh
index 72917a7192d09b2895902dba0f76a738bbb958ca..7a8f3165036a7e3172882337e1f514d78cceb33b 100755 (executable)
@@ -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 $?"