Home
last modified time | relevance | path

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

/external/perfetto/src/trace_processor/importers/memory_tracker/
Draw_memory_graph_node.cc22 const char RawMemoryGraphNode::kNameSize[] = "size";
23 const char RawMemoryGraphNode::kNameObjectCount[] = "object_count";
24 const char RawMemoryGraphNode::kTypeScalar[] = "scalar";
25 const char RawMemoryGraphNode::kTypeString[] = "string";
26 const char RawMemoryGraphNode::kUnitsBytes[] = "bytes";
27 const char RawMemoryGraphNode::kUnitsObjects[] = "objects";
29 RawMemoryGraphNode::MemoryNodeEntry::MemoryNodeEntry(const std::string& n, in MemoryNodeEntry()
34 RawMemoryGraphNode::MemoryNodeEntry::MemoryNodeEntry(const std::string& n, in MemoryNodeEntry()
39 bool RawMemoryGraphNode::MemoryNodeEntry::operator==( in operator ==()
52 RawMemoryGraphNode::RawMemoryGraphNode(const std::string& absolute_name, in RawMemoryGraphNode() function in perfetto::trace_processor::RawMemoryGraphNode
[all …]
Draw_process_memory_node_unittest.cc39 std::unique_ptr<RawMemoryGraphNode> mad1( in TEST()
40 new RawMemoryGraphNode("mad1", kLevelOfDetail, source)); in TEST()
41 std::unique_ptr<RawMemoryGraphNode> mad2( in TEST()
42 new RawMemoryGraphNode("mad2", kLevelOfDetail, target)); in TEST()
69 std::unique_ptr<RawMemoryGraphNode> mad1( in TEST()
70 new RawMemoryGraphNode("mad1", kLevelOfDetail, source)); in TEST()
71 std::unique_ptr<RawMemoryGraphNode> mad2( in TEST()
72 new RawMemoryGraphNode("mad2", kLevelOfDetail, target)); in TEST()
Dgraph_processor_unittest.cc109 std::unique_ptr<RawMemoryGraphNode> source(new RawMemoryGraphNode( in TEST_F()
111 std::vector<RawMemoryGraphNode::MemoryNodeEntry>{ in TEST_F()
112 {RawMemoryGraphNode::kNameSize, RawMemoryGraphNode::kUnitsBytes, in TEST_F()
115 std::unique_ptr<RawMemoryGraphNode> target(new RawMemoryGraphNode( in TEST_F()
153 auto size = third_child->entries()->find(RawMemoryGraphNode::kNameSize); in TEST_F()
Dgraph_processor.cc35 if (units == RawMemoryGraphNode::kUnitsBytes) { in EntryUnitsFromString()
37 } else if (units == RawMemoryGraphNode::kUnitsObjects) { in EntryUnitsFromString()
272 const RawMemoryGraphNode& raw_node = *path_to_node.second; in CollectAllocatorNodes()
285 bool is_weak = raw_node.flags() & RawMemoryGraphNode::Flags::kWeak; in CollectAllocatorNodes()
298 case RawMemoryGraphNode::MemoryNodeEntry::EntryType::kUint64: in CollectAllocatorNodes()
302 case RawMemoryGraphNode::MemoryNodeEntry::EntryType::kString: in CollectAllocatorNodes()
Draw_process_memory_node.cc43 RawMemoryGraphNode* RawProcessMemoryNode::GetAllocatorNode( in GetAllocatorNode()
/external/perfetto/include/perfetto/ext/trace_processor/importers/memory_tracker/
Draw_memory_graph_node.h57 class PERFETTO_EXPORT RawMemoryGraphNode {
94 RawMemoryGraphNode(const std::string& absolute_name,
98 RawMemoryGraphNode(
102 std::vector<RawMemoryGraphNode::MemoryNodeEntry>&& entries);
Draw_process_memory_node.h42 std::map<std::string, std::unique_ptr<RawMemoryGraphNode>>;
58 RawMemoryGraphNode* GetAllocatorNode(const std::string& absolute_name) const;
/external/perfetto/src/trace_processor/importers/proto/
Dmemory_tracker_snapshot_parser.cc95 flags = RawMemoryGraphNode::kWeak; in ReadProtoSnapshot()
97 flags = RawMemoryGraphNode::kDefault; in ReadProtoSnapshot()
100 std::vector<RawMemoryGraphNode::MemoryNodeEntry> entries; in ReadProtoSnapshot()
103 entries.emplace_back("size", RawMemoryGraphNode::kUnitsBytes, in ReadProtoSnapshot()
115 unit = RawMemoryGraphNode::kUnitsBytes; in ReadProtoSnapshot()
118 unit = RawMemoryGraphNode::kUnitsObjects; in ReadProtoSnapshot()
132 std::unique_ptr<RawMemoryGraphNode> raw_graph_node(new RawMemoryGraphNode( in ReadProtoSnapshot()