commit | 7a3c282c6bfe717c9ded0d85fe8d47347ada0e9e | [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 | a17ee22b7b7d282d9b669e420c5e5466c68344d3 | |
parent | 54eef305d3ab9c46e70ca69d606071b7a1f8a5b7 [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