1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 11:22:41 +01:00

wa/instruments: pylint/fixes

This commit is contained in:
Marc Bonnici
2018-07-03 14:25:33 +01:00
parent 0b8501e010
commit 6afd710bd1
7 changed files with 18 additions and 20 deletions

View File

@@ -119,6 +119,7 @@ class FpsInstrument(Instrument):
return
self._is_enabled = True
#pylint: disable=redefined-variable-type
if use_gfxinfo:
self.collector = GfxInfoFramesInstrument(self.target, collector_target, self.period)
self.processor = DerivedGfxInfoStats(self.drop_threshold, filename='fps.csv')
@@ -127,12 +128,12 @@ class FpsInstrument(Instrument):
self.processor = DerivedSurfaceFlingerStats(self.drop_threshold, filename='fps.csv')
self.collector.reset()
def start(self, context):
def start(self, context): #pylint: disable=unused-argument
if not self._is_enabled:
return
self.collector.start()
def stop(self, context):
def stop(self, context): #pylint: disable=unused-argument
if not self._is_enabled:
return
self.collector.stop()