summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Steven Terrell <steventerrell@google.com> 2024-09-17 21:03:06 +0000
committer Steven Terrell <steventerrell@google.com> 2024-11-02 02:34:13 +0000
commit8a2ad5e1fb1edfa1a14daeed20d0ae9281625844 (patch)
tree5b69d9c5616d327c7c3c0346f73a48a8ea377bbf /cmds/bootanimation/BootAnimation.cpp
parent40244ee5efb9b1df49d60e975be11891bb9ece78 (diff)
Add JankData Processing Logic
This change adds the frame attribution and accounting logic. We will receive batches of JankData which are previously rendered frames that will have a jank determination associated with it. At a high level the determinations indicate whether that particular frame was janky or not. The changes added here will take those determinations and associate them to widget states. Each widget state has a vsyncid start and end value indicating the timeframe for which the state was active. Each frame in the batch will be processed by looking at its associated vsyncid and determining which states were active for that particular frame. A running count of each state and how many frames were rendered while that state was active will be maintained. After ten batches have been processed the states and frame counts will be reported to the platform. Bug: 369679146 Test: atest CoreAppJankTestCases:JankDataProcessorTest Flag: android.app.jank.detailed_app_jank_metrics_api Change-Id: I7be13039cbad1b533f4439c3761957411e3dbb10
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions