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:
parent
7c920f953c
commit
0995e57689
@ -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 ')
|
||||
|
Loading…
x
Reference in New Issue
Block a user