summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2016-10-18 10:36:33 +0900
committerHugo Benichi <hugobenichi@google.com>2016-12-13 10:20:03 +0900
commit97d10ffcaddfd5de32e02590594eee97ee918ced (patch)
tree59c6cc10d69b947767cfb7e5a0f2b0ab7ac8b7c1 /libs/hwui/ProgramCache.cpp
parentff0b58627f8a0c54c057d828eaee36dd0cc68d76 (diff)
DO NOT MERGE IpConnectivityMetrics: rate limit ApfProgramEvents
This patch uses the previously introduced TokenBucket to rate limit ApfProgramEvents, still allowing for burst of ApfProgramEvents when a new interface is set up (due to ipv4 provisioning, multicast lock, ipv6 RAs triggering new APF program events in short amounts of time). Test: new test in IpConnectivityMetricsTest Bug: 1550402 (cherry picked from commit e1c173d2240a8eedf7685c9371087dc047a6931f) Change-Id: Ibe41e9a76db36ea502697a5f19fc0d91c40a3087
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions