diff options
| author | 2021-04-10 00:21:00 +0000 | |
|---|---|---|
| committer | 2021-04-10 00:24:03 +0000 | |
| commit | de27245fff35dfd2d53a68225559947018d4ead5 (patch) | |
| tree | 3997802d9416489757aa5eec6fcaf7ceec063915 /libs/gui/BufferQueueThreadState.cpp | |
| parent | 0de23a9eafae2db42781b6db6994c7d52621e7a9 (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