Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_decoder.cpp48 recordSimpleInfos_->ParseFromBinary(addr, header_, abcFilePool_); in Load()
115 abcFilePool_ = externalAbcFilePool; in LoadAbcIdPool()
118 abcFilePool_ = std::make_unique<PGOAbcFilePool>(); in LoadAbcIdPool()
126 abcFilePool_->Merge(context, *abcFilePoolTemp); in LoadAbcIdPool()
150 abcFilePool_->GetPool()->ProcessToText(fileStream); in SaveAPTextFile()
191 if (abcFilePool_ && !externalAbcFilePool_) { in Clear()
192 abcFilePool_->Clear(); in Clear()
254 if (!abcFilePool_) { in InitMergeData()
255 abcFilePool_ = std::make_shared<PGOAbcFilePool>(); in InitMergeData()
Dpgo_profiler_decoder.h55 return abcFilePool_; in GetAbcFilePool()
177 ASSERT(abcFilePool_ != nullptr); in GetAbcNameById()
178 ASSERT(abcFilePool_->GetPool() != nullptr); in GetAbcNameById()
179 const auto *entry = abcFilePool_->GetPool()->GetEntry(abcId); in GetAbcNameById()
190 if (abcFilePool_ == nullptr) { in GetABCIdByJSPandaFile()
194 return abcFilePool_->GetEntryIdByNormalizedName(name, entryId); in GetABCIdByJSPandaFile()
213 std::shared_ptr<PGOAbcFilePool> abcFilePool_; variable
Dpgo_profiler_encoder.cpp37 abcFilePool_->Clear(); in Destroy()
90 abcFilePool_->TryAdd(abcName, entryId); in SamplePandaFileInfo()
96 return abcFilePool_->GetEntryId(abcName, entryId); in GetPandaFileId()
105 const auto *entry = abcFilePool_->GetEntry(abcId); in GetPandaFileDesc()
159 ASSERT(abcFilePool_->GetPool()->Empty()); in MergeWithExistProfile()
160 abcFilePool_->Copy(runtimeEncoder.abcFilePool_); in MergeWithExistProfile()
161 if (!decoder.LoadFull(abcFilePool_)) { in MergeWithExistProfile()
194 *abcFilePool_->GetPool()); in SaveAndRename()
Dpgo_profiler_encoder.h36 abcFilePool_ = std::make_shared<PGOAbcFilePool>(); in PGOProfilerEncoder()
78 return abcFilePool_; in GetAbcFilePool()
112 std::shared_ptr<PGOAbcFilePool> abcFilePool_; variable