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
Loading
Please register or sign in to comment