commit | fb0967b5cfe25d7f81b7ef54c7401a804942ace7 | [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 | b077f5d8497b6fc4b858445a4cc74479c5ee8601 | |
parent | ecfc04e7c28264eb8dbf66daf7a75b4225f784fe [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