diff options
author | Tri Vo <trong@google.com> | 2019-10-09 11:38:48 -0700 |
---|---|---|
committer | Tri Vo <trong@google.com> | 2019-10-09 12:40:01 -0700 |
commit | b9ad9a68fb955fbe2059e635b95e22294c1caf2b (patch) | |
tree | 8a45c9ea3d5dbd7dfbf45ef16ed36aea3c70c1f0 /startop/scripts/lib/cmd_utils.py | |
parent | f605363ce46a6ebaa5bbab04e1b22478f9edb48d (diff) |
KernelWakelockReader: reuse buffer when parsing
Eliminates 32 kb buffer allocation every time readKernelWakelockStats()
is called.
Test: atest FrameworksCoreTests:KernelWakelockReaderTest
Test: "dumpsys batterystats --checkin" contains kernel wake lock
information.
Change-Id: Ifc7254ab3a5272b056cbc75233aa2dfa8219ea84
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions