From 791c633d1846ad1b190ca2feaf7cbda39d8c9d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 30 Dec 2017 23:07:17 +0100 Subject: [PATCH] daca: limit cpu usage --- tools/rundaca2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rundaca2.py b/tools/rundaca2.py index 5f52a6123..c56ee4fd8 100644 --- a/tools/rundaca2.py +++ b/tools/rundaca2.py @@ -27,7 +27,7 @@ def compilecppcheck(CPPFLAGS): def runcppcheck(rev, folder): subprocess.call(['rm', '-rf', os.path.expanduser('~/daca2/' + folder)]) subprocess.call(['nice', '--adjustment=19', 'python', - os.path.expanduser('~/cppcheck/tools/daca2.py'), folder, '--rev=' + rev]) + os.path.expanduser('~/cppcheck/tools/daca2.py'), '--cpulimit=60', folder, '--rev=' + rev]) def daca2report(reportfolder):