#include "perfetto/ext/trace_processor/importers/memory_tracker/raw_memory_graph_node.h"
namespace perfetto {
namespace trace_processor {
const char RawMemoryGraphNode::kNameSize[] = …;
const char RawMemoryGraphNode::kNameObjectCount[] = …;
const char RawMemoryGraphNode::kTypeScalar[] = …;
const char RawMemoryGraphNode::kTypeString[] = …;
const char RawMemoryGraphNode::kUnitsBytes[] = …;
const char RawMemoryGraphNode::kUnitsObjects[] = …;
RawMemoryGraphNode::MemoryNodeEntry::MemoryNodeEntry(const std::string& n,
const std::string& u,
uint64_t v)
: … { … }
RawMemoryGraphNode::MemoryNodeEntry::MemoryNodeEntry(const std::string& n,
const std::string& u,
const std::string& v)
: … { … }
bool RawMemoryGraphNode::MemoryNodeEntry::operator==(
const MemoryNodeEntry& rhs) const { … }
RawMemoryGraphNode::RawMemoryGraphNode(const std::string& absolute_name,
LevelOfDetail level,
MemoryAllocatorNodeId id)
: … { … }
RawMemoryGraphNode::RawMemoryGraphNode(
const std::string& absolute_name,
LevelOfDetail level,
MemoryAllocatorNodeId id,
std::vector<RawMemoryGraphNode::MemoryNodeEntry>&& entries)
: … { … }
}
}