1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 20:11:20 +00:00

instrumentation/fps: Allow measuring of views containing spaces

Ensure the view name is passed in quotes to allow for views containing
spaces.
This commit is contained in:
Marc Bonnici 2018-02-01 09:34:14 +00:00 committed by setrofim
parent 7c920f953c
commit 0995e57689

View File

@ -187,7 +187,7 @@ class FpsInstrument(Instrument):
self.device.execute('dumpsys gfxinfo {} reset'.format(pkg))
else:
self.fps_method = 'surfaceflinger'
runcmd = 'dumpsys SurfaceFlinger --latency {}'
runcmd = 'dumpsys SurfaceFlinger --latency "{}"'
lstcmd = 'dumpsys SurfaceFlinger --list'
params = workload.view
self.device.execute('dumpsys SurfaceFlinger --latency-clear ')