daca: limit cpu usage

This commit is contained in:
Daniel Marjamäki 2017-12-30 23:07:17 +01:00
parent 1cbeec26c6
commit 791c633d18
1 changed files with 1 additions and 1 deletions

View File

@ -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):