From f9c4efbb832cbc34daadb03750f825db58aae886 Mon Sep 17 00:00:00 2001 From: Vincent Hsu Date: Fri, 13 Sep 2013 15:05:53 +0800 Subject: 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 Acked-by: Fathi Boudra --- openembedded/scripts/infinite_loop.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'openembedded/scripts/infinite_loop.py') 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 " + 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") -- cgit v1.2.3