diff options
author | 2022-02-26 09:17:49 -0800 | |
---|---|---|
committer | 2022-04-04 17:44:36 -0500 | |
commit | 9cf89269c108114a6c61602512c84e7472fb1965 (patch) | |
tree | dda0ddd1e0a1986b731bdf248a953838690866ec /libs/shaders/shaders.cpp | |
parent | a314038bf9b507517e75aeb346841e391927bc4e (diff) |
SF: Add composition strategy prediction stats
Track number of frames we attempted to predict
the composition strategy and the number of
frames it was successful. This should only be used
as a convenient way to debug locally. Composition
strategy prediction hit and misses are also tracked
via trace tags and can be extracted for metrics.
Enable stats: adb shell su root dumpsys SurfaceFlinger --timestats -enable
Dump stats: adb shell su root dumpsys SurfaceFlinger --timestats -dump -maxlayers 0
Clear stats: adb shell su root dumpsys SurfaceFlinger --timestats -clear
Test: adb shell
Bug: 220031739
Change-Id: Ifc35efa7ce110e82041f529b58acebfa1c325f36
Diffstat (limited to 'libs/shaders/shaders.cpp')
0 files changed, 0 insertions, 0 deletions