Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot.cpp781 TraceNode* topNode = traceTree_.AddNodeToTree(traceNodeIndex_); in AddTraceNode() local
782 if (topNode == nullptr) { in AddTraceNode()
785 ASSERT(topNode->GetTotalSize() <= static_cast<uint32_t>(INT_MAX)); in AddTraceNode()
786 int totalSize = static_cast<int>(topNode->GetTotalSize()); in AddTraceNode()
788 topNode->SetTotalSize(totalSize); in AddTraceNode()
789 uint32_t totalCount = topNode->GetTotalCount(); in AddTraceNode()
790 topNode->SetTotalCount(++totalCount); in AddTraceNode()
791 return topNode->GetId(); in AddTraceNode()