Skip to main content

Module process_snapshot

Module process_snapshot 

Source
Expand description

Nested message and enum types in ProcessSnapshot.

Modules§

memory_node
Nested message and enum types in MemoryNode.

Structs§

MemoryEdge
A directed edge that connects any 2 nodes in the graph above. These are in addition to the inherent edges added due to the tree structure of the node’s absolute names. Node with id |source_id| owns the node with id |target_id|, and has the effect of attributing the memory usage of target to source. |importance| is optional and relevant only for the cases of co-ownership, where it acts as a z-index: the owner with the highest importance will be attributed target’s memory.
MemoryNode
Memory dumps are represented as a graph of memory nodes which contain statistics. To avoid double counting the same memory across different nodes, edges are used to mark nodes that account for the same memory. See this doc for examples of the usage: https://docs.google.com/document/d/1WGQRJ1sjJrfVkNcgPVY6frm64UqPc94tsxUOXImZUZI