daca: limit cpu usage
This commit is contained in:
parent
1cbeec26c6
commit
791c633d18
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue