aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2015-04-09 16:50:08 +0000
committerBernard Ogden <bernie.ogden@linaro.org>2015-04-09 16:50:08 +0000
commit2ca65e71e7cf964625a2e1808cb5bcaf291ed350 (patch)
treea887cef1b858f13e85fcb80de9cafdd1d39a1b4f
parent95d55a8a16857e096c4ba442bc9b72ad10ef7067 (diff)
Give me a timestamp between iterations
Very helpful for calculating just how long this brute force beast will take.
-rwxr-xr-xbench-malloc-threadgun.sh1
-rwxr-xr-xbench-malloc-threadpistol.sh1
-rwxr-xr-xlsgun.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/bench-malloc-threadgun.sh b/bench-malloc-threadgun.sh
index 5ba4d04..95134b1 100755
--- a/bench-malloc-threadgun.sh
+++ b/bench-malloc-threadgun.sh
@@ -42,6 +42,7 @@ A57_COUNTERS=(\'\' \
function doit
{
for i in {1..30}; do #Number of times to run each condition. 30 in some vague hope of statistical validity.
+ date +%s
echo : $binary $binary_args $i | tee -a ~/output.$$.${cpu}
taskset $cpu gdb -q -x ${GDBSCRIPT} --args $binary $binary_args 2>&1 >/dev/null | tee -a ~/output.$$.${cpu}
done
diff --git a/bench-malloc-threadpistol.sh b/bench-malloc-threadpistol.sh
index d7dd38d..73e0792 100755
--- a/bench-malloc-threadpistol.sh
+++ b/bench-malloc-threadpistol.sh
@@ -22,6 +22,7 @@ A57_COUNTERS=(\'\' \
function doit
{
for i in {1..1}; do #Number of times to run each condition. 30 in some vague hope of statistical validity.
+ date +%s
echo : $binary $binary_args $i | tee -a ~/output.$$.${cpu}
taskset $cpu gdb -q -x ${GDBSCRIPT} --args $binary $binary_args 2>&1 >/dev/null | tee -a ~/output.$$.${cpu}
done
diff --git a/lsgun.sh b/lsgun.sh
index ebcb4fe..42453f1 100755
--- a/lsgun.sh
+++ b/lsgun.sh
@@ -42,6 +42,7 @@ A57_COUNTERS=(\'\' \
function doit
{
for i in {1..30}; do #Number of times to run each condition. 30 in some vague hope of statistical validity.
+ date +%s
echo : $binary $binary_args $i | tee -a ~/output.$$.${cpu}
taskset $cpu gdb -q -x ${GDBSCRIPT} --args $binary $binary_args 2>&1 >/dev/null | tee -a ~/output.$$.${cpu}
done