diff options
| author | 2022-02-26 09:17:49 -0800 | |
|---|---|---|
| committer | 2022-03-01 23:51:40 +0000 | |
| commit | 47183ae01af735473ec636e16aa8293da839efac (patch) | |
| tree | df3dd0d5ccffe0b94b3f6bd9e859ca06c7f7cb73 /libs/battery/LongArrayMultiStateCounterTest.cpp | |
| parent | 7234fa59245e20b934a15ebbd27d4e189ad224d0 (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: I073172977b3df9c8b6894acdc1e327898cab2580
Diffstat (limited to 'libs/battery/LongArrayMultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions