summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Tang Lee <tanglee@google.com> 2024-08-13 15:06:28 +0800
committer Tang Lee <tanglee@google.com> 2024-08-22 07:02:20 +0000
commit6ba5125b9d5b88a4e9292f842f401827c0ad55f2 (patch)
treef28ec4bdb780f20cfb1d3a4f1893aff14aa57bef /libs/androidfw/StringPool.cpp
parentbb0348ec6a0a0c49f6c6db048d196a2bdf098161 (diff)
Enlarge mLast4FrameMetricsInfos from 4 to 6 entries
As a result of tuning SurfaceFlinger durations (debug.sf.late.sf.duration etc.), the ring buffer of the frame metrics infos is sometimes too small, and already popped the frame's info when its GPU complete is triggered and doing onSurfaceStatsAvailable(), so finishFrame() is not called for this frame, which causes incorrect jank judgement on the next frame. Increase the ring buffer size from 4 to 6 can avoid the issue. Bug: 354618175 Test: no skipped frame in onSurfaceStatsAvailable Flag: EXEMPT bugfix Change-Id: I2865365213e16cfebe63b949aae332cea32d8927
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions