diff options
author | Rafal Slawik <rslawik@google.com> | 2018-09-12 13:04:30 +0100 |
---|---|---|
committer | Rafal Slawik <rslawik@google.com> | 2018-09-26 09:25:01 +0000 |
commit | aaf608959c2feafd40508ce3ef32fef2a01d7553 (patch) | |
tree | 461d0b910c3fd8be51fc1118f16243f9cb4cbe1f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4fee398440e4cb69dd2b79f4f0ac85cea89a6bdc (diff) |
Read RSS high watermark
The value is read from /proc/PID/status or memory.max_usage_in_bytes (for devices with per-app memcg enabled).
Reading the value takes about 2ms per process.
Full snapshot taken by statsd is around 300ms.
Results: https://docs.google.com/spreadsheets/d/1vG9ku8Uu8104CmKbO4cNeEKVeeByvHY--p0_dK1GAdA/edit?usp=sharing
Bug: 115477992
Test: atest FrameworksServicesTests
Change-Id: I87995cbd85085375ade685f29e986ba173f9693e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions