From 80f799291e6808304824944f86f407f0d68af8d4 Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 16 Jun 2009 17:40:28 -0400 Subject: [PATCH] Add cpu time Signed-off-by: Mathieu Desnoyers --- runall.sh | 1 + runtests.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.34.1