mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +00:00
wa/instruments: pep8 fixes
This commit is contained in:
parent
30471613de
commit
0b8501e010
@ -21,6 +21,7 @@ from wa.framework.exception import InstrumentError
|
|||||||
from wa.framework.instrument import slow
|
from wa.framework.instrument import slow
|
||||||
from wa.utils.misc import ensure_file_directory_exists as _f
|
from wa.utils.misc import ensure_file_directory_exists as _f
|
||||||
|
|
||||||
|
|
||||||
class DmesgInstrument(Instrument):
|
class DmesgInstrument(Instrument):
|
||||||
# pylint: disable=no-member,attribute-defined-outside-init
|
# pylint: disable=no-member,attribute-defined-outside-init
|
||||||
"""
|
"""
|
||||||
|
@ -309,6 +309,7 @@ class AcmeCapeBackend(EnergyInstrumentBackend):
|
|||||||
iio_device=iio_device, buffer_size=buffer_size)
|
iio_device=iio_device, buffer_size=buffer_size)
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
||||||
class MonsoonBackend(EnergyInstrumentBackend):
|
class MonsoonBackend(EnergyInstrumentBackend):
|
||||||
|
|
||||||
name = 'monsoon'
|
name = 'monsoon'
|
||||||
|
@ -21,6 +21,7 @@ from wa.framework.instrument import fast
|
|||||||
MOMENTARY_QUANTITIES = ['temperature', 'power', 'voltage', 'current', 'fps']
|
MOMENTARY_QUANTITIES = ['temperature', 'power', 'voltage', 'current', 'fps']
|
||||||
CUMULATIVE_QUANTITIES = ['energy', 'tx', 'tx/rx', 'frames']
|
CUMULATIVE_QUANTITIES = ['energy', 'tx', 'tx/rx', 'frames']
|
||||||
|
|
||||||
|
|
||||||
class HwmonInstrument(Instrument):
|
class HwmonInstrument(Instrument):
|
||||||
name = 'hwmon'
|
name = 'hwmon'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user