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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user