Fix platform private footprint on macOS.
The previous calculation used platform, process counters, which includes anonymous, faulted, shared memory. Since we now explicitly track all shared memory regions, we discount by anonymous, resident, shared memory. This introduces a slight source of error [difference between resident vs faulted], but the error should be lower than previous. Measured locally, this change will cause PrivateMemoryFootprint to be lower by 0-8MB for most processes, up to 30MB [rarely] for the browser. Change-Id: I8b562fc185d215debbcfde60a3ad5c35302271b9 Bug: 812346 Reviewed-on: https://chromium-review.googlesource.com/924541 Commit-Queue: Erik Chen <erikchen@chromium.org> Reviewed-by:Primiano Tucci <primiano@chromium.org> Cr-Commit-Position: refs/heads/master@{#538812}
Showing
Please register or sign in to comment