summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Dake Gu <dake@google.com> 2022-06-02 17:42:55 -0700
committer Dake Gu <dake@google.com> 2022-06-07 07:37:43 -0700
commit3a9b4c8b112c3fbd59bca17228ecc772e0879cb3 (patch)
tree0640f03c4c80308e6def78ce8c8a7eb9a47441e8 /libs/androidfw/ResourceTimer.cpp
parent1b076a41fd19c1f6f37fd729fe1823c453f09695 (diff)
Detect doubleStuffed frame when duration is over 2*interval
Current doubleStuffed deadline calculation is based on the assumption that frame duration cannot go beyond 2*interval. But we see on TV with many >2*interval cases and device is still rendering without frame drop. See details in go/jank-tracker-deadline-fix-on-s Test: build adt3_gtv-userdebug on T, verified gfxinfo is no longer reporting a high number of "deadline missed" Test: new test in JankTrackerTests Bug: 189942694 Change-Id: Id9be2d0d232b89c6e145ecec513054ca8c752814
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions