diff options
author | Sandeep Patil <sspatil@google.com> | 2018-08-29 17:10:47 -0700 |
---|---|---|
committer | Sandeep Patil <sspatil@google.com> | 2018-11-05 10:42:46 -0800 |
commit | 54d87213745ddeda6bdecf7471db982d77c49c52 (patch) | |
tree | 6f2a09079839a2c959b0947f85bf6bb7b1655c63 /libutils/Unicode.cpp | |
parent | e0c3a8d97b0a0493fdc3ebd0a648a2cdcd7986ab (diff) |
libmeminfo: Add libmeminfo to gather global and per-process memory stats
The library is expected to be a unified place for all components to read
both global and per-process memory accounting form kernel including
getting the working set. This change adds the PageInfo, MemInfo and
ProcMemInfo classes and verifies the implementation against libpagemap
for correctness.
Adds a procmem2 tool show the usage.
TODO: Plumbing in os_debug, add vmastats, zoneinfo etc parsing.
Test: libmeminfo_test 1
Test: procmem2 1
Test: procmem2 -h -W 1
Test: procmem2 -h -w 1
Test: libmeminfo_benchmark
Bug: 111694435
Bug: 114325007
Change-Id: I280440b1dc26a498170686d10fcf63f953a0dcbd
Signed-off-by: Sandeep Patil <sspatil@google.com>
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions