1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-03-21 01:59:13 +00:00

Merge pull request #135 from mcgeagh/fps-fix

Only check for crashed content if crash_check is true.
This commit is contained in:
Sebastian Goscik 2016-04-11 13:38:18 +01:00
commit 33ef949507

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