summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2021-01-27 20:40:50 -0800
committer Alec Mouri <alecmouri@google.com> 2021-02-09 09:18:15 -0800
commit7d436ecfc55ebf0ff69caa8d05a8f4eb63fb72f4 (patch)
tree644b186f7d1c645614bc916a5db8123a311856f8 /services/surfaceflinger/RegionSamplingThread.cpp
parent4cd01842d4b1ba10eed64fd947c03b53c4fe3105 (diff)
Plumb refresh and render rates into shared timeline
* Make the overridden frame rate from the Scheduler public so that SurfaceFlinger can access it for each uid. * Add the display refresh rate on each display frame * Add the application rendering rate on each SurfaceFrame created * If there is no application rendering rate, then set it to the display refresh rate. * Plumb all those metrics into TimeStats. * Change global metrics to increment for every SurfaceFrame instead of every DisplayFrame, so that the rendering rate dimension can be accurately captured. Bug: 172937287 Test: builds, boots, timestats dump Change-Id: Icfd4cecfdfa5d6c434661cab91c624eb08e8baea
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions