From: compudj Date: Tue, 16 Jun 2009 21:40:28 +0000 (-0400) Subject: Add cpu time X-Git-Tag: v0.1~144^2 X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=80f799291e6808304824944f86f407f0d68af8d4 Add cpu time Signed-off-by: Mathieu Desnoyers --- diff --git a/runall.sh b/runall.sh index 95a24cf..6a1baa2 100755 --- 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 diff --git a/runtests.sh b/runtests.sh index d7f9c88..9dbf168 100755 --- a/runtests.sh +++ b/runtests.sh @@ -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