Add cpu time
authorcompudj <compudj@compumobile.(none)>
Tue, 16 Jun 2009 21:40:28 +0000 (17:40 -0400)
committercompudj <compudj@compumobile.(none)>
Tue, 16 Jun 2009 21:40:28 +0000 (17:40 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
runall.sh
runtests.sh

index 95a24cf9adfe17eaeb8c8d9de07adbb77ba34058..6a1baa22641b557b67cf594f9c5eef215a6a27bf 100755 (executable)
--- a/runall.sh
+++ b/runall.sh
@@ -25,6 +25,7 @@ NUM_CPUS=8
 #y: ops/s
 
 rm -f runall.log
+rm -fr runall.detail.log
 
 echo Executing update fraction test
 
index d7f9c883033ab2a679f9bf7c45404969a4d7992a..9dbf16823489572a34c87901e3c891fe0fbac8fc 100755 (executable)
@@ -2,6 +2,7 @@
 
 for a in test_urcu test_urcu_mb test_qsbr test_rwlock test_perthreadlock \
                        test_mutex; do
-       ./${a} $*
+       echo "./${a} $*" | tee -a runall.detail.log
+       /usr/bin/time --append --output runall.detail.log ./${a} $*
 done
 
This page took 0.025457 seconds and 4 git commands to generate.