commit | 02dd2f42f8713b09ed0526e4eb49812957b66d5e | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Fri Apr 14 09:46:57 2017 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Wed Apr 19 09:16:30 2017 -0700 |
tree | df8584f91c6a74fde86b2aea25cbc6dbbbce32eb | |
parent | 8b318d0c26c89acd7c716fb571bfd08d4393d12f [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 Change-Id: I2b3c2ac44209772b38f383ae46fe6c4422b542cf