Home
last modified time | relevance | path

Searched refs:TraceNode (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot.h289 class TraceNode {
291 TraceNode(TraceTree* tree, uint32_t nodeIndex);
292 ~TraceNode();
294 TraceNode(const TraceNode&) = delete;
295 TraceNode& operator=(const TraceNode&) = delete;
296 TraceNode* FindChild(uint32_t nodeIndex);
297 TraceNode* FindOrAddChild(uint32_t nodeIndex);
314 const std::vector<TraceNode*>& GetChildren() const in GetChildren()
318 TraceNode &SetTotalSize(uint32_t totalSize) in SetTotalSize()
323 TraceNode &SetTotalCount(uint32_t totalCount) in SetTotalCount()
[all …]
Dheap_snapshot_json_serializer.h34 class TraceNode; variable
104 void SerializeTraceNode(TraceNode *node);
Dheap_snapshot.cpp691 TraceNode::TraceNode(TraceTree* tree, uint32_t nodeIndex) in TraceNode() function in panda::ecmascript::TraceNode
700 TraceNode::~TraceNode() in ~TraceNode()
702 for (TraceNode* node : children_) { in ~TraceNode()
708 TraceNode* TraceTree::AddNodeToTree(CVector<uint32_t> traceNodeIndex) in AddNodeToTree()
715 TraceNode* node = GetRoot(); in AddNodeToTree()
722 TraceNode* TraceNode::FindOrAddChild(uint32_t nodeIndex) in FindOrAddChild()
724 TraceNode* child = FindChild(nodeIndex); in FindOrAddChild()
726 child = new TraceNode(tree_, nodeIndex); in FindOrAddChild()
732 TraceNode* TraceNode::FindChild(uint32_t nodeIndex) in FindChild()
734 for (TraceNode* node : children_) { in FindChild()
[all …]
Dheap_snapshot_json_serializer.cpp193 void HeapSnapshotJSONSerializer::SerializeTraceNode(TraceNode* node) in SerializeTraceNode()
209 for (TraceNode* child : node->GetChildren()) { in SerializeTraceNode()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/
Dheap_tracker_test.cpp580 TraceNode *traceNode = traceTree.AddNodeToTree(traceNodeIndex); in HWTEST_F_L0()
588 TraceNode traceNode(&traceTree, index); in HWTEST_F_L0()
589 TraceNode *node = traceNode.FindOrAddChild(index); in HWTEST_F_L0()
592 TraceNode *tmpNode = traceNode.FindOrAddChild(2); in HWTEST_F_L0()