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 95a24cf..6a1baa2 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 d7f9c88..9dbf168 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.031326 seconds and 4 git commands to generate.