Home
last modified time | relevance | path

Searched refs:GlobalNodeGraph (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/include/perfetto/ext/trace_processor/importers/memory_tracker/
Dgraph_processor.h40 static std::unique_ptr<GlobalNodeGraph> CreateMemoryGraph(
43 static void RemoveWeakNodesFromGraph(GlobalNodeGraph* global_graph);
45 static void AddOverheadsAndPropagateEntries(GlobalNodeGraph* global_graph);
47 static void CalculateSizesForGraph(GlobalNodeGraph* global_graph);
50 ComputeSharedFootprintFromGraph(const GlobalNodeGraph& global_graph);
56 GlobalNodeGraph* global_graph,
57 GlobalNodeGraph::Process* process_graph);
60 GlobalNodeGraph* global_graph);
62 static void MarkImplicitWeakParentsRecursively(GlobalNodeGraph::Node* node);
65 GlobalNodeGraph::Node* node,
[all …]
Dgraph.h41 class PERFETTO_EXPORT GlobalNodeGraph {
52 Process(base::PlatformProcessId pid, GlobalNodeGraph* global_graph);
57 GlobalNodeGraph::Node* CreateNode(MemoryAllocatorNodeId id,
63 GlobalNodeGraph::Node* FindNode(const std::string& path);
66 GlobalNodeGraph* global_graph() const { return global_graph_; } in global_graph()
67 GlobalNodeGraph::Node* root() const { return root_; } in root()
71 GlobalNodeGraph* global_graph_;
72 GlobalNodeGraph::Node* root_;
110 explicit Node(GlobalNodeGraph::Process* node_graph, Node* parent);
176 GlobalNodeGraph::Edge* owns_edge() const { return owns_edge_; } in owns_edge()
[all …]
/external/perfetto/src/trace_processor/importers/memory_tracker/
Dgraph.cc24 using Edge = GlobalNodeGraph::Edge;
25 using PostOrderIterator = GlobalNodeGraph::PostOrderIterator;
26 using PreOrderIterator = GlobalNodeGraph::PreOrderIterator;
27 using Process = GlobalNodeGraph::Process;
28 using Node = GlobalNodeGraph::Node;
33 GlobalNodeGraph::GlobalNodeGraph() in GlobalNodeGraph() function in perfetto::trace_processor::GlobalNodeGraph
36 GlobalNodeGraph::~GlobalNodeGraph() {} in ~GlobalNodeGraph()
38 Process* GlobalNodeGraph::CreateGraphForProcess( in CreateGraphForProcess()
45 void GlobalNodeGraph::AddNodeOwnershipEdge(Node* owner, in AddNodeOwnershipEdge()
54 Node* GlobalNodeGraph::CreateNode(Process* process_graph, Node* parent) { in CreateNode()
[all …]
Dgraph_unittest.cc27 using Node = GlobalNodeGraph::Node;
28 using Process = GlobalNodeGraph::Process;
35 GlobalNodeGraph global_dump_graph; in TEST()
45 GlobalNodeGraph global_dump_graph; in TEST()
61 GlobalNodeGraph graph; in TEST()
94 GlobalNodeGraph graph; in TEST()
127 GlobalNodeGraph global_dump_graph; in TEST()
156 GlobalNodeGraph global_dump_graph; in TEST()
168 GlobalNodeGraph global_dump_graph; in TEST()
194 GlobalNodeGraph global_dump_graph; in TEST()
[all …]
Dgraph_processor.cc24 using Edge = GlobalNodeGraph::Edge;
25 using Node = GlobalNodeGraph::Node;
26 using Process = GlobalNodeGraph::Process;
58 std::unique_ptr<GlobalNodeGraph> GraphProcessor::CreateMemoryGraph( in CreateMemoryGraph()
60 auto global_graph = std::unique_ptr<GlobalNodeGraph>(new GlobalNodeGraph()); in CreateMemoryGraph()
86 void GraphProcessor::RemoveWeakNodesFromGraph(GlobalNodeGraph* global_graph) { in RemoveWeakNodesFromGraph()
117 GlobalNodeGraph* global_graph) { in AddOverheadsAndPropagateEntries()
141 void GraphProcessor::CalculateSizesForGraph(GlobalNodeGraph* global_graph) { in CalculateSizesForGraph()
189 const GlobalNodeGraph& global_graph) { in ComputeSharedFootprintFromGraph()
266 GlobalNodeGraph* global_graph, in CollectAllocatorNodes()
[all …]
Dgraph_processor_unittest.cc29 using Edge = GlobalNodeGraph::Edge;
30 using Node = GlobalNodeGraph::Node;
31 using Process = GlobalNodeGraph::Process;
57 GlobalNodeGraph* global_graph, in AssignTracingOverhead()
62 GlobalNodeGraph::Node::Entry AggregateNumericWithNameForNode( in AggregateNumericWithNameForNode()
102 GlobalNodeGraph graph;
/external/perfetto/src/trace_processor/importers/proto/
Dmemory_tracker_snapshot_parser.h49 GlobalNodeGraph::Node* node_;
66 std::unique_ptr<GlobalNodeGraph> GenerateGraph(RawMemoryNodeMap& raw_nodes);
72 GlobalNodeGraph& graph,
80 void EmitMemorySnapshotNodeRows(GlobalNodeGraph::Node& root_node_graph,
91 GlobalNodeGraph::Node& node,
103 const GlobalNodeGraph::Node& node,
Dmemory_tracker_snapshot_parser.cc158 std::unique_ptr<GlobalNodeGraph> MemoryTrackerSnapshotParser::GenerateGraph( in GenerateGraph()
166 GlobalNodeGraph& graph, in EmitRows()
227 GlobalNodeGraph::Node& root_node_graph, in EmitMemorySnapshotNodeRows()
236 GlobalNodeGraph::Node& node, in EmitMemorySnapshotNodeRowsRecursively()
262 const GlobalNodeGraph::Node& node, in EmitNode()
285 case GlobalNodeGraph::Node::Entry::Type::kUInt64: { in EmitNode()
304 case GlobalNodeGraph::Node::Entry::Type::kString: { in EmitNode()
318 std::unique_ptr<GlobalNodeGraph> graph = GenerateGraph(aggregate_raw_nodes_); in GenerateGraphFromRawNodesAndEmitRows()