summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Adithya Srinivasan <adsrini@google.com> 2021-04-10 00:21:00 +0000
committer Adithya Srinivasan <adsrini@google.com> 2021-04-10 00:24:03 +0000
commitde27245fff35dfd2d53a68225559947018d4ead5 (patch)
tree3997802d9416489757aa5eec6fcaf7ceec063915 /libs/gui/BufferQueueThreadState.cpp
parent0de23a9eafae2db42781b6db6994c7d52621e7a9 (diff)
Report deltas as 0 instead of -1 for prediction expired display frames
Since both positive and negative values are valid for the deltas, reporting -1 for cases where we cannot provide a delta skews the metrics. Instead, report 0 as the delta since the jank is already reported as unknown. Bug: 184986864 Test: libsurfaceflinger_unittest Change-Id: I09cbb0cb7084620038b4d5ada6c196647733bbe5
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions