1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-03 11:52:36 +01:00

wa/instruments: pep8 fixes

This commit is contained in:
Marc Bonnici
2018-07-03 14:16:16 +01:00
parent 30471613de
commit 0b8501e010
4 changed files with 28 additions and 25 deletions

View File

@@ -21,6 +21,7 @@ from wa.framework.instrument import fast
MOMENTARY_QUANTITIES = ['temperature', 'power', 'voltage', 'current', 'fps']
CUMULATIVE_QUANTITIES = ['energy', 'tx', 'tx/rx', 'frames']
class HwmonInstrument(Instrument):
name = 'hwmon'
@@ -64,7 +65,7 @@ class HwmonInstrument(Instrument):
for label, measurement_after in measurements_after.items():
if label not in measurements_before:
continue # We've already warned about this
continue # We've already warned about this
measurement_before = measurements_before[label]
if measurement_after.channel.kind in MOMENTARY_QUANTITIES: