diff options
author | Vincent Hsu <vincent.hsu@linaro.org> | 2013-09-13 15:05:53 +0800 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2013-09-14 08:18:51 +0300 |
commit | f9c4efbb832cbc34daadb03750f825db58aae886 (patch) | |
tree | a0c369ec8c761f4f425ee10b548c965c1d026aad /openembedded/scripts/infinite_loop.py | |
parent | ea3b744b254b9da4fded1f4f991a99f8d01a7431 (diff) |
openembedded/cyclictest: updated cyclictest
1. force to run test in cpu core 1
2. get full log and summary log at the same time
3. show more measurement resluts directly on lava webpage
Signed-off-by: Vincent Hsu <vincent.hsu@linaro.org>
Acked-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'openembedded/scripts/infinite_loop.py')
-rwxr-xr-x | openembedded/scripts/infinite_loop.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openembedded/scripts/infinite_loop.py b/openembedded/scripts/infinite_loop.py index 0405354..7d2ac65 100755 --- a/openembedded/scripts/infinite_loop.py +++ b/openembedded/scripts/infinite_loop.py @@ -3,6 +3,10 @@ import sys import time import os +if len(sys.argv) != 2: + print "usage: infinite_loop.py <secs>" + sys.exit(0) + t1 = time.time() while True: @@ -11,4 +15,4 @@ while True: if t2 > float(sys.argv[1]): exit() else: - os.system("calibrator 1000 500M ca.log") + os.system("taskset -c 1 calibrator 1000 500M ca.log") |