Home
last modified time | relevance | path

Searched refs:global_node (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/trace_processor/importers/memory_tracker/
Dgraph_processor_unittest.cc131 auto global_node = GraphProcessor::CreateMemoryGraph(process_nodes); in TEST_F() local
133 ASSERT_EQ(1u, global_node->process_node_graphs().size()); in TEST_F()
135 auto id_to_node_it = global_node->process_node_graphs().find(1); in TEST_F()
156 auto& edges = global_node->edges(); in TEST_F()
166 Node* global_node = global_process->CreateNode(kEmptyId, "global/1", false); in TEST_F() local
167 global_node->AddEntry("size", Node::Entry::ScalarUnits::kBytes, 100); in TEST_F()
175 graph.AddNodeOwnershipEdge(shared_1, global_node, 1); in TEST_F()
176 graph.AddNodeOwnershipEdge(shared_2, global_node, 1); in TEST_F()
186 Node* global_node = global_process->CreateNode(kEmptyId, "global/1", false); in TEST_F() local
187 global_node->AddEntry("size", Node::Entry::ScalarUnits::kBytes, 100); in TEST_F()
[all …]
Dgraph_processor.cc207 Node* global_node = path_to_child.second; in ComputeSharedFootprintFromGraph() local
211 if (global_node->entries()->count(kSizeEntryName) == 0) in ComputeSharedFootprintFromGraph()
214 for (auto* edge : *global_node->owned_by_edges()) { in ComputeSharedFootprintFromGraph()
228 GlobalNodeOwners* owners = &global_node_to_shared_owners[global_node]; in ComputeSharedFootprintFromGraph()