CompositionStats struct is a copy of HwcDisplay::Stats and is extracted from HwcDisplay as a prestep for supporting stats reporting beyond dumpsys. CompositionStatsProvider interface can be implemented by a class that will poll all displays and return a display->CompositionStats map for the cumulative stats for each display. CompositionStatsTracker is a helper class that tracks the state of the last queried stats and calculates the delta between the last stats and the currently pulled stats. A Callback function can be passed into the Report function which will be called for each display, with the cumulative and delta stats as arguments. Change-Id: I4200df5b41a4dbc612160aec038c83336b68bc4b Signed-off-by: Drew Davenport <ddavenport@google.com> |
||
|---|---|---|
| .. | ||
| android | ||
| container | ||
| .gitlab-ci-checkcommit.sh | ||
| .gitlab-ci.yml | ||
| build-arm64.sh | ||
| build-x86_64.sh | ||
| Dockerfile | ||
| image-tags.yml | ||
| Makefile | ||
| setup-test-env.sh | ||