Searched refs:RawMemoryGraphNode (Results 1 – 8 of 8) sorted by relevance
/external/perfetto/src/trace_processor/importers/memory_tracker/ |
D | raw_memory_graph_node.cc | 22 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 …]
|
D | raw_process_memory_node_unittest.cc | 39 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()
|
D | graph_processor_unittest.cc | 109 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()
|
D | graph_processor.cc | 35 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()
|
D | raw_process_memory_node.cc | 43 RawMemoryGraphNode* RawProcessMemoryNode::GetAllocatorNode( in GetAllocatorNode()
|
/external/perfetto/include/perfetto/ext/trace_processor/importers/memory_tracker/ |
D | raw_memory_graph_node.h | 57 class PERFETTO_EXPORT RawMemoryGraphNode { 94 RawMemoryGraphNode(const std::string& absolute_name, 98 RawMemoryGraphNode( 102 std::vector<RawMemoryGraphNode::MemoryNodeEntry>&& entries);
|
D | raw_process_memory_node.h | 42 std::map<std::string, std::unique_ptr<RawMemoryGraphNode>>; 58 RawMemoryGraphNode* GetAllocatorNode(const std::string& absolute_name) const;
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | memory_tracker_snapshot_parser.cc | 95 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()
|