Description[Android] memory_inspector: add resident memory accounting.
Introduce the logic which is able to intersect mmap stats (dirty/clean
priv/shared) with allocations. Essentially it contains the math to
calculate the overlap (even partial) between allocations and mmaps
and attribute stats counters to allocations. For the moment only
resident memory is accounted. Finer grained accounting (dirty/clean)
requires some changes to memdump (to have more than one bit per page in
its output bitmap) and will come soon.
BUG=340294
NOTRY=true
Committed: https://crrev.com/786950036c44447667426bb07a51b911531ccc79
Cr-Commit-Position: refs/heads/master@{#295032}
Patch Set 1 : #Messages
Total messages: 11 (4 generated)
|