mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 11:58:55 +00:00
fps: Only check for crashed content if crash_check is true.
This commit is contained in:
parent
9ee1666a76
commit
68714e0e55
2
wlauto/instrumentation/fps/__init__.py
Normal file → Executable file
2
wlauto/instrumentation/fps/__init__.py
Normal file → Executable 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user