Searched refs:SampleMode (Results 1 – 6 of 6) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler.h | 32 SampleMode mode = SampleMode::CALL_MODE, int32_t incCount = 1);
|
D | pgo_profiler_info.h | 41 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 …]
|
D | pgo_profiler_info.cpp | 616 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()
|
D | pgo_profiler.cpp | 23 …rofiler::ProfileCall(JSTaggedType func, JSTaggedType callTarget, int32_t pcOffset, SampleMode mode, in ProfileCall()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/ |
D | pgo_profiler_test.cpp | 580 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/ |
D | runtime_stubs.cpp | 436 …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()
|