Home
last modified time | relevance | path

Searched refs:MemoryAllocatorNodeId (Results 1 – 14 of 14) sorted by relevance

/external/perfetto/src/trace_processor/importers/memory_tracker/
Dmemory_allocator_node_id.cc27 MemoryAllocatorNodeId::MemoryAllocatorNodeId(uint64_t id) : id_(id) {} in MemoryAllocatorNodeId() function in perfetto::trace_processor::MemoryAllocatorNodeId
29 MemoryAllocatorNodeId::MemoryAllocatorNodeId() : MemoryAllocatorNodeId(0u) {} in MemoryAllocatorNodeId() function in perfetto::trace_processor::MemoryAllocatorNodeId
31 std::string MemoryAllocatorNodeId::ToString() const { in ToString()
Dgraph_unittest.cc30 const MemoryAllocatorNodeId kEmptyId;
131 graph.CreateNode(MemoryAllocatorNodeId(1), "simple/test/1", false); in TEST()
133 graph.CreateNode(MemoryAllocatorNodeId(2), "simple/test/2", false); in TEST()
135 graph.CreateNode(MemoryAllocatorNodeId(3), "simple/other/1", false); in TEST()
137 graph.CreateNode(MemoryAllocatorNodeId(4), "complex/path", false); in TEST()
139 graph.CreateNode(MemoryAllocatorNodeId(5), "complex/path/child/1", false); in TEST()
148 ASSERT_EQ(nodes_by_id.find(MemoryAllocatorNodeId(1))->second, first); in TEST()
149 ASSERT_EQ(nodes_by_id.find(MemoryAllocatorNodeId(2))->second, second); in TEST()
150 ASSERT_EQ(nodes_by_id.find(MemoryAllocatorNodeId(3))->second, third); in TEST()
151 ASSERT_EQ(nodes_by_id.find(MemoryAllocatorNodeId(4))->second, fourth); in TEST()
[all …]
Draw_process_memory_node_unittest.cc36 const auto source = MemoryAllocatorNodeId(42); in TEST()
37 const auto target = MemoryAllocatorNodeId(4242); in TEST()
66 const auto source = MemoryAllocatorNodeId(42); in TEST()
67 const auto target = MemoryAllocatorNodeId(4242); in TEST()
Draw_memory_graph_node.cc54 MemoryAllocatorNodeId id) in RawMemoryGraphNode()
63 MemoryAllocatorNodeId id, in RawMemoryGraphNode()
Dgraph_processor_unittest.cc35 const MemoryAllocatorNodeId kEmptyId;
110 "test1/test2/test3", LevelOfDetail::kDetailed, MemoryAllocatorNodeId(42), in TEST_F()
116 "target", LevelOfDetail::kDetailed, MemoryAllocatorNodeId(4242))); in TEST_F()
Dgraph.cc85 Node* Process::CreateNode(MemoryAllocatorNodeId id, in CreateNode()
Dgraph_processor.cc459 Node* child_node = process->CreateNode(MemoryAllocatorNodeId(), child_name, in AssignTracingOverhead()
/external/perfetto/include/perfetto/ext/trace_processor/importers/memory_tracker/
Dmemory_allocator_node_id.h29 class PERFETTO_EXPORT MemoryAllocatorNodeId {
31 MemoryAllocatorNodeId();
32 explicit MemoryAllocatorNodeId(uint64_t id);
41 bool operator==(const MemoryAllocatorNodeId& other) const {
45 bool operator!=(const MemoryAllocatorNodeId& other) const {
49 bool operator<(const MemoryAllocatorNodeId& other) const {
Dmemory_graph_edge.h30 MemoryGraphEdge(MemoryAllocatorNodeId s, in MemoryGraphEdge()
31 MemoryAllocatorNodeId t, in MemoryGraphEdge()
44 MemoryAllocatorNodeId source;
45 MemoryAllocatorNodeId target;
Draw_memory_graph_node.h96 MemoryAllocatorNodeId id);
101 MemoryAllocatorNodeId id,
120 MemoryAllocatorNodeId id() const { return id_; } in id()
138 MemoryAllocatorNodeId id_;
Dgraph.h57 GlobalNodeGraph::Node* CreateNode(MemoryAllocatorNodeId id,
174 MemoryAllocatorNodeId id() const { return id_; } in id()
175 void set_id(MemoryAllocatorNodeId id) { id_ = id; } in set_id()
194 MemoryAllocatorNodeId id_;
265 using IdNodeMap = std::map<MemoryAllocatorNodeId, Node*>;
Draw_process_memory_node.h46 std::map<MemoryAllocatorNodeId, std::unique_ptr<MemoryGraphEdge>>;
/external/perfetto/src/trace_processor/importers/proto/
Dmemory_tracker_snapshot_parser.cc91 MemoryAllocatorNodeId node_id(node.id()); in ReadProtoSnapshot()
145 MemoryAllocatorNodeId(edge.source_id()), in ReadProtoSnapshot()
146 MemoryAllocatorNodeId(edge.target_id()), in ReadProtoSnapshot()
149 edges_map.insert(std::make_pair(MemoryAllocatorNodeId(edge.source_id()), in ReadProtoSnapshot()
Dmemory_tracker_snapshot_parser.h43 std::map<MemoryAllocatorNodeId, tables::MemorySnapshotNodeTable::Id>;