commit | aab1d0dfcc9a93ae487bdd33f77f00a3dea4479b | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Wed Sep 30 07:40:09 2015 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Tue Oct 13 13:43:16 2015 -0700 |
tree | d6651685f9087a946183bb657925e4e2485b060f | |
parent | ffa478be6a7ff0b2272732bb0585df8847c4eeba [diff] |
logd: correct for number of elements in prune Chatty logs would distort the average log size by elevating the elements, but not the size. Add statistical collection for the number of elements that report chatty, and subtract that from the number of elements to improve the pruning estimate. Pick minElements as 1% rather than 10% of the total with this more accurate number of elements, to a minumum of 4. Bug: 24511000 Change-Id: I3f36558138aa0b2a50e4fac6440c3a8505d95276