summaryrefslogtreecommitdiff
path: root/libs/battery/LongArrayMultiStateCounterTest.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2022-02-26 09:17:49 -0800
committer Vishnu Nair <vishnun@google.com> 2022-03-01 23:51:40 +0000
commit47183ae01af735473ec636e16aa8293da839efac (patch)
treedf3dd0d5ccffe0b94b3f6bd9e859ca06c7f7cb73 /libs/battery/LongArrayMultiStateCounterTest.cpp
parent7234fa59245e20b934a15ebbd27d4e189ad224d0 (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