1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 19:01:15 +01:00

fps: Only check for crashed content if crash_check is true.

This commit is contained in:
Michael McGeagh 2016-04-11 11:39:19 +01:00
parent 9ee1666a76
commit 68714e0e55

2
wlauto/instrumentation/fps/__init__.py Normal file → Executable file
View File

@ -166,7 +166,7 @@ class FpsInstrument(Instrument):
def slow_update_result(self, context):
result = context.result
if result.has_metric('execution_time'):
if self.crash_check and result.has_metric('execution_time'):
self.logger.debug('Checking for crashed content.')
exec_time = result['execution_time'].value
fps = result['FPS'].value