Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.h32 SampleMode mode = SampleMode::CALL_MODE, int32_t incCount = 1);
Dpgo_profiler_info.h41 enum class SampleMode : uint8_t { enum
340 PGOMethodInfo(PGOMethodId id, uint32_t count, SampleMode mode, const char *methodName) in PGOMethodInfo()
366 static bool GetSampleMode(std::string content, SampleMode &mode) in GetSampleMode()
369 mode = SampleMode::HOTNESS_MODE; in GetSampleMode()
371 mode = SampleMode::CALL_MODE; in GetSampleMode()
413 void SetSampleMode(SampleMode mode) in SetSampleMode()
415 if (mode_ == SampleMode::HOTNESS_MODE) { in SetSampleMode()
421 SampleMode GetSampleMode() const in GetSampleMode()
430 case SampleMode::HOTNESS_MODE: in GetSampleModeToString()
433 case SampleMode::CALL_MODE: in GetSampleModeToString()
[all …]
Dpgo_profiler_info.cpp616 bool PGOMethodInfoMap::AddMethod(Chunk *chunk, Method *jsMethod, SampleMode mode, int32_t incCount) in AddMethod()
821 SampleMode mode; in ParseFromText()
826 if (count < threshold && mode == SampleMode::CALL_MODE) { in ParseFromText()
985 bool PGORecordDetailInfos::AddMethod(const CString &recordName, Method *jsMethod, SampleMode mode, … in AddMethod()
Dpgo_profiler.cpp23 …rofiler::ProfileCall(JSTaggedType func, JSTaggedType callTarget, int32_t pcOffset, SampleMode mode, in ProfileCall()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
Dpgo_profiler_test.cpp580 ASSERT_TRUE(recordInfos->AddMethod("test", jsMethod, SampleMode::CALL_MODE, 1)); in HWTEST_F_L0()
581 ASSERT_FALSE(recordInfos->AddMethod("test", jsMethod, SampleMode::CALL_MODE, 1)); in HWTEST_F_L0()
582 ASSERT_FALSE(recordInfos->AddMethod("test", jsMethod, SampleMode::CALL_MODE, 1)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp436 …thread->GetEcmaVM()->GetPGOProfiler()->ProfileCall(func, target, pcOffset, SampleMode::CALL_MODE, … in ProfileCall()
998 JSTaggedValue::VALUE_UNDEFINED, thisFunc.GetTaggedType(), -1, SampleMode::HOTNESS_MODE); in DEF_RUNTIME_STUBS()