Home
last modified time | relevance | path

Searched refs:SampleMode (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler_info.h122 PGOMethodInfo(PGOMethodId id, uint32_t count, SampleMode mode, const char *methodName) in PGOMethodInfo()
148 static bool GetSampleMode(std::string content, SampleMode &mode) in GetSampleMode()
151 mode = SampleMode::HOTNESS_MODE; in GetSampleMode()
153 mode = SampleMode::CALL_MODE; in GetSampleMode()
195 void SetSampleMode(SampleMode mode) in SetSampleMode()
197 if (mode_ == SampleMode::HOTNESS_MODE) { in SetSampleMode()
203 SampleMode GetSampleMode() const in GetSampleMode()
212 case SampleMode::HOTNESS_MODE: in GetSampleModeToString()
215 case SampleMode::CALL_MODE: in GetSampleModeToString()
226 if (count_ < threshold && mode_ == SampleMode in IsFilter()
[all...]
H A Dpgo_profiler_info.cpp173 bool PGOMethodInfoMap::AddMethod(Chunk *chunk, Method *jsMethod, SampleMode mode) in AddMethod()
385 SampleMode mode; in ParseFromText()
390 if (count < threshold && mode == SampleMode::CALL_MODE) { in ParseFromText()
584 bool PGORecordDetailInfos::AddMethod(ProfileType recordProfileType, Method *jsMethod, SampleMode mode) in AddMethod()
H A Dpgo_profiler.h48 enum class SampleMode : uint8_t { class
H A Dpgo_profiler.cpp619 recordInfos_->AddMethod(recordType, Method::Cast(methodValue), SampleMode::HOTNESS_MODE); in HandlePGOPreDump()
666 if (recordInfos_->AddMethod(recordType, Method::Cast(methodValue), SampleMode::HOTNESS_MODE)) { in HandlePGODumpByDumpThread()

Completed in 14 milliseconds