commit | 466ad6c3e0fbe95b44598e058ff1e9d0d63440d5 | [log] [tgz] |
---|---|---|
author | Ioannis Ilkos <ilkos@google.com> | Tue Jun 18 17:42:00 2019 +0100 |
committer | Ioannis Ilkos <ilkos@google.com> | Fri Jun 21 11:10:19 2019 +0100 |
tree | 6cb3725d5ab026f606b1375b3324f86ea13a0ccc | |
parent | b7abebde5b1e3c36a13046dc5cabd7491806d8c6 [diff] |
Add anon RSS + swap metric We are planning to use this metric to detect leaks. This CL also decouples the actual memory sampling from AM. This means: - Less time locking the pid list (we used to lock and then read proc) - Less serialization / deserialization for the parcel - Simpler to evolve (e.g. removed the HWM-specific method in AM) Change-Id: I87a7243156dd8c88cfa85038e7e6cf4963e271e1 Test: manual, MemoryStatUtilTest, UidAtomTests Bug: b/135418017