Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_sampling.cpp139 auto iter = scriptIdMap_.find(callframeInfo.url_); in FillScriptIdAndStore()
140 if (iter == scriptIdMap_.end()) { in FillScriptIdAndStore()
141scriptIdMap_.emplace(callframeInfo.url_, scriptIdMap_.size() + 1); // scriptId start from 1 in FillScriptIdAndStore()
142 callframeInfo.scriptId_ = static_cast<int>(scriptIdMap_.size()); in FillScriptIdAndStore()
Dheap_sampling.h91 CMap<std::string, int> scriptIdMap_; variable
Dheap_snapshot.cpp86 scriptIdMap_.clear(); in ~HeapSnapshot()
817 auto iter = scriptIdMap_.find(codeEntry.scriptName); in AddMethodInfo()
818 if (iter == scriptIdMap_.end()) { in AddMethodInfo()
819 scriptIdMap_.emplace(codeEntry.scriptName, scriptIdMap_.size() + 1); in AddMethodInfo()
820 codeEntry.scriptId = static_cast<int>(scriptIdMap_.size()); in AddMethodInfo()
Dheap_snapshot.h498 CMap<std::string, int> scriptIdMap_; variable
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dsamples_record.cpp686 auto iter = scriptIdMap_.find(frameInfo.url); in FrameInfoTempToMap()
687 if (iter == scriptIdMap_.end()) { in FrameInfoTempToMap()
688 scriptIdMap_.emplace(frameInfo.url, scriptIdMap_.size() + 1); in FrameInfoTempToMap()
689 frameInfo.scriptId = static_cast<int>(scriptIdMap_.size()); in FrameInfoTempToMap()
715 auto iter = scriptIdMap_.find(frameInfo.url); in NapiFrameInfoTempToMap()
716 if (iter == scriptIdMap_.end()) { in NapiFrameInfoTempToMap()
717 scriptIdMap_.emplace(frameInfo.url, scriptIdMap_.size() + 1); in NapiFrameInfoTempToMap()
718 frameInfo.scriptId = static_cast<int>(scriptIdMap_.size()); in NapiFrameInfoTempToMap()
Dsamples_record.h208 CMap<std::string, int> scriptIdMap_; variable