commit | 6b20dfea56f4ceb5894a678b457ad075879a79ac | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@chromium.org> | Tue Nov 07 15:49:21 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 07 15:49:21 2017 |
tree | bf17385a3040b8e4f6674eac3825b0490792af56 | |
parent | 45e4c3b8ab4211c65e04e9354d61f0f26502ec6d [diff] |
memory-infra: compute shared memory footprint per process This change adds a method to compute the shared memory footprint for each process. This works by finding all the global nodes which are owned by shared memory nodes in the graph and then attempting to figure out which ones should be apportioned some of the size of the global node. The code to decide sizes works by first considering the priority of each edge in the graph which points to the global dump and only selecting the ones with the highest importance. The size is then split between all the shared memory nodes with the same importance and thus the process associated with each of these nodes is incremented by the appropriate size Bug: 781782 Change-Id: I9fce23cc2947658a8831244a46ffa7ca5bcb783d Reviewed-on: https://chromium-review.googlesource.com/738050 Commit-Queue: Lalit Maganti <lalitm@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Primiano Tucci <primiano@chromium.org> Cr-Commit-Position: refs/heads/master@{#514477}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .