[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 Review URL: https://codereview.chromium.org/563183003 Cr-Commit-Position: refs/heads/master@{#295032}
Showing
Please register or sign in to comment