summaryrefslogtreecommitdiff
path: root/common/scripts/lmbench.sh
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2013-10-04 16:42:36 +0200
committerLinaro Code Review <review@review.linaro.org>2013-10-24 07:18:44 +0000
commit1ef4f1dd009d980736ae901e45ae03f860109236 (patch)
treed52c137099d0f86e2d37c15c82dae2cc5af50ad3 /common/scripts/lmbench.sh
parent2132db61391a194ce1ba68741b8db9a5365943c8 (diff)
added lmbench and generalize hackbench_parse script2013.10
1. move hackbench_parse.py to common/scripts/min_max_avg_parsh.sh and try to generalize it so lmbench can use it as well. 2. add new lmbench.yaml file to OE Change-Id: I9ce50fb5830d2f1a6f45ca043f93da70f32041b1 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'common/scripts/lmbench.sh')
-rwxr-xr-xcommon/scripts/lmbench.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/scripts/lmbench.sh b/common/scripts/lmbench.sh
new file mode 100755
index 0000000..e985f1d
--- /dev/null
+++ b/common/scripts/lmbench.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+echo "BEGIN LMBENCH"
+for i in $(seq 1 1000)
+do
+ echo "lat_ctx iteration number $i "
+ /usr/bin/lat_ctx -s 64 2
+ /usr/bin/lat_ctx -s 64 8
+ /usr/bin/lat_ctx -s 64 16
+ /usr/bin/lat_ctx -s 64 20
+done
+echo "END LMBENCH"