summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Brian Stack <bstack@google.com> 2018-12-10 14:54:18 -0800
committer Brian Stack <bstack@google.com> 2018-12-10 15:02:46 -0800
commitae4053f88cf144dad2a02e8897be4fa53cf23541 (patch)
tree62fcc78ae646260d245ac7ce1c3cb086b1035bc6 /libs/gui/BufferQueue.cpp
parent782946a854618279c355e8dfd0d7d482cb605f4f (diff)
Only log dropped events every two seconds
If a device enters a state where the Sensor Event Connection's cache is full, it would generate a log for every new event it received which led to a large number of logs. This patch rate-limits how often the dropped event log line is output and summarizes the number of events that were dropped. Bug: 120790102 Test: Builds, verified log was generated at most once every two seconds per SensorEventConnection Change-Id: I61d84bc15dd72d5d36d250ce40ace200d549a6c0
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions