commit | 8893dc0433be9172e57633733cbe504f72c4f6ee | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Fri Apr 14 09:46:57 2017 -0700 |
committer | Greg Hartman <ghartman@google.com> | Tue May 16 10:36:43 2017 -0700 |
tree | 99e803611bbc512f0506888048261c931da3b77f | |
parent | 966ff65c65f5e471898e4d69e4d8b2dcf494259b [diff] |
logd: replace stats.add+stats.subtract with stats.addTotal Replace stats.add(elem) + stats.subtract(elem) with a new more efficient method stats.addTotal(elem). Test: gTest liblog-unit-test, logd-unit-tests and logcat-unit-tests Bug: 37254265 Merged-In: I2b3c2ac44209772b38f383ae46fe6c4422b542cf Change-Id: I2b3c2ac44209772b38f383ae46fe6c4422b542cf