commit | 507eb9fec2b062e02cac0b76e35fb435cc9bf3d7 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Mon Jan 11 10:58:09 2016 -0800 |
committer | Mark Salyzyn <salyzyn@google.com> | Mon Jan 11 14:46:51 2016 -0800 |
tree | c857c60bee020429bffafce2eaace7ed4169e52e | |
parent | cd60e4bdd61b9ab5d293c4c2ac2936a9cf28668e [diff] |
logd: prune maintain per-id watermark Without this change LogBuffer::prune and LogBuffer::erase contributes 16.7% and 1.79% respectively. With this change, they contributes 3.06 and 2.33% respectively. Pruning is performed roughly 1 in every 255 log entries, a periodic tamer latency spike. Bug: 23685592 Change-Id: I6ae1cf9f3559bca4cf448efe8bcb2b96a1914c54