Home
last modified time | relevance | path

Searched refs:global_graph (Results 1 – 7 of 7) sorted by relevance

/external/perfetto/src/trace_processor/importers/memory_tracker/
Dgraph_processor.cc60 auto global_graph = std::unique_ptr<GlobalNodeGraph>(new GlobalNodeGraph()); in CreateMemoryGraph() local
69 auto* graph = global_graph->CreateGraphForProcess(pid_to_node.first); in CreateMemoryGraph()
70 CollectAllocatorNodes(*pid_to_node.second, global_graph.get(), graph); in CreateMemoryGraph()
79 AddEdges(*pid_to_node.second, global_graph.get()); in CreateMemoryGraph()
82 return global_graph; in CreateMemoryGraph()
86 void GraphProcessor::RemoveWeakNodesFromGraph(GlobalNodeGraph* global_graph) { in RemoveWeakNodesFromGraph() argument
87 auto* global_root = global_graph->shared_memory_graph()->root(); in RemoveWeakNodesFromGraph()
92 for (const auto& pid_to_process : global_graph->process_node_graphs()) { in RemoveWeakNodesFromGraph()
101 for (const auto& pid_to_process : global_graph->process_node_graphs()) { in RemoveWeakNodesFromGraph()
110 for (const auto& pid_to_process : global_graph->process_node_graphs()) { in RemoveWeakNodesFromGraph()
[all …]
Dgraph.cc79 Process::Process(base::PlatformProcessId pid, GlobalNodeGraph* global_graph) in Process() argument
81 global_graph_(global_graph), in Process()
82 root_(global_graph->CreateNode(this, nullptr)) {} in Process()
144 Node* new_child = node_graph_->global_graph()->CreateNode(node_graph_, this); in CreateChild()
Dgraph_processor_unittest.cc55 GlobalNodeGraph* global_graph, in AssignTracingOverhead() argument
57 GraphProcessor::AssignTracingOverhead(allocator, global_graph, process); in AssignTracingOverhead()
/external/perfetto/include/perfetto/ext/trace_processor/importers/memory_tracker/
Dgraph_processor.h43 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,
60 GlobalNodeGraph* global_graph);
71 GlobalNodeGraph* global_graph,
Dgraph.h52 Process(base::PlatformProcessId pid, GlobalNodeGraph* global_graph);
66 GlobalNodeGraph* global_graph() const { return global_graph_; } in global_graph() function
/external/tensorflow/tensorflow/python/keras/distribute/
Ddistributed_training_utils_v1.py978 global_graph = backend.get_graph()
980 with global_graph.as_default(), strategy.scope():
984 with backend._scratch_graph(global_graph):
/external/tensorflow/tensorflow/python/framework/
Dops_test.py2914 global_graph = ops.get_default_graph()
2929 self.assertEqual(global_graph, dummy.graph)