Home
last modified time | relevance | path

Searched refs:PGOProfilerManager (Results 1 - 25 of 28) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler_manager.cpp25 PGOProfilerManager* PGOProfilerManager::GetInstance() in GetInstance()
27 static PGOProfilerManager* instance = new PGOProfilerManager(); in GetInstance()
31 bool PGOProfilerManager::MergeApFiles(const std::string &inFiles, const std::string &outPath, uint32_t hotnessThreshold, in MergeApFiles()
80 bool PGOProfilerManager::MergeApFiles(uint32_t checksum, PGOProfilerDecoder &merger) in MergeApFiles()
122 void PGOProfilerManager::RegisterSavingSignal() in RegisterSavingSignal()
137 void PGOProfilerManager::SavingSignalHandler(int signo) in SavingSignalHandler()
143 PGOProfilerManager::GetInstance()->ForceSave(); in SavingSignalHandler()
H A Dpgo_profiler_manager.h29 class PGOProfilerManager { class
32 static PGOProfilerManager *PUBLIC_API GetInstance();
36 PGOProfilerManager() = default;
37 ~PGOProfilerManager() = default;
39 NO_COPY_SEMANTIC(PGOProfilerManager);
40 NO_MOVE_SEMANTIC(PGOProfilerManager);
H A Dpgo_profiler_encoder.cpp250 if (!PGOProfilerManager::GetInstance()->RequestAot(bundleName_, moduleName_, RequestAotMode::RE_COMPILE_ON_IDLE)) { in RequestAot()
H A Dpgo_profiler.cpp36 pgo::PGOProfilerManager::GetInstance()->GetPandaFileId(pandaFile->GetJSPandaFileDesc(), abcId); in RecordProfileType()
693 PGOProfilerManager::GetInstance()->Merge(this); in MergeProfilerAndDispatchAsyncSaveTask()
699 PGOProfilerManager::GetInstance()->AsyncSave(); in MergeProfilerAndDispatchAsyncSaveTask()
1951 if (!PGOProfilerManager::GetInstance()->GetPandaFileId(pfName, abcId) && !pfName.empty()) { in GetMethodAbcId()
1989 PGOProfilerManager::GetInstance()->GetPandaFileDesc(abcId, pfDesc); in GetRecordProfileType()
H A Dpgo_profiler.h391 friend class PGOProfilerManager;
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dgc_key_stats.cpp32 using PGOProfilerManager = pgo::PGOProfilerManager;
93 "BUNDLE_NAME", PGOProfilerManager::GetInstance()->GetBundleName(), in SendSysEvent()
123 "PROCESS_NAME", PGOProfilerManager::GetInstance()->GetBundleName(), in SendSysEventBeforeDump()
/arkcompiler/ets_runtime/ecmascript/ohos/
H A Djit_tools.h30 using PGOProfilerManager = panda::ecmascript::pgo::PGOProfilerManager;
H A Dohos_pgo_processor.h97 return pgo::PGOProfilerManager::MergeApFiles(profilerIn, exportAp, hotnessThreshold, in ExportMergedAp()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/prof_dump/
H A Dmain.cpp152 if (PGOProfilerManager::GetInstance()->BinaryToText(option.GetProfInPath(), in Main()
161 if (PGOProfilerManager::GetInstance()->TextToBinary(option.GetProfInPath(), option.GetProfOutPath(), in Main()
171 if (PGOProfilerManager::MergeApFiles(option.GetProfInPath(), option.GetProfOutPath(), in Main()
/arkcompiler/ets_runtime/ecmascript/
H A Decma_vm.cpp55 using PGOProfilerManager = pgo::PGOProfilerManager;
140 std::string bundleName = PGOProfilerManager::GetInstance()->GetBundleName(); in PostFork()
200 pgoProfiler_ = PGOProfilerManager::GetInstance()->Build(this, isEnablePGOProfiler); in InitializePGOProfiler()
210 PGOProfilerManager::GetInstance()->Reset(pgoProfiler_, isEnablePGOProfiler); in ResetPGOProfiler()
213 thread_->SetEnableForceIC(ecmascript::pgo::PGOProfilerManager::GetInstance()->IsEnableForceIC()); in ResetPGOProfiler()
222 PGOProfilerManager::GetInstance()->SetDisablePGO(true); in DisablePGOProfilerWithAOTFile()
230 return PGOProfilerManager::GetInstance()->IsEnable(); in IsEnablePGOProfiler()
352 PGOProfilerManager::GetInstance()->Destroy(pgoProfiler_); in ~EcmaVM()
H A Druntime.cpp25 using PGOProfilerManager = pgo::PGOProfilerManager;
61 PGOProfilerManager::GetInstance()->Initialize(options.GetPGOProfilerPath(), in CreateIfFirstVm()
63 PGOProfilerManager::GetInstance()->SetEnableForceIC(options.IsEnableForceIC()); in CreateIfFirstVm()
125 PGOProfilerManager::GetInstance()->Destroy(); in DestroyIfLastVm()
H A Djs_thread.cpp100 jsThread->glueData_.isEnableForceIC_ = ecmascript::pgo::PGOProfilerManager::GetInstance()->IsEnableForceIC(); in Create()
/arkcompiler/ets_runtime/test/fuzztest/binarytotext_fuzzer/
H A Dbinarytotext_fuzzer.cpp31 panda::ecmascript::pgo::PGOProfilerManager::GetInstance()->BinaryToText( in BinaryToTextFuzzTest()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
H A Dpgo_profiler_test.cpp86 PGOProfilerManager::GetInstance()->SetDisablePGO(false);
87 PGOProfilerManager::GetInstance()->Destroy();
254 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum, "ark-profiler.abc"); in HWTEST_F_L0()
294 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum, "ark-profiler1.abc"); in HWTEST_F_L0()
351 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum, "ark-profiler2.abc"); in HWTEST_F_L0()
407 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum, "sample_test.abc"); in HWTEST_F_L0()
463 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum, ""); in HWTEST_F_L0()
500 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(checksum, "sample_test.abc"); in HWTEST_F_L0()
502 // worker vm read profile enable from PGOProfilerManager singleton in HWTEST_F_L0()
510 PGOProfilerManager in HWTEST_F_L0()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
H A Daot_snapshot.cpp74 if (!pgo::PGOProfilerManager::GetInstance()->GetPandaFileId(jsPandaFile->GetJSPandaFileDesc(), fileId)) { in StoreConstantPoolInfo()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Djs_pandafile_manager.cpp26 using PGOProfilerManager = pgo::PGOProfilerManager;
416 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(jsPandaFile->GetChecksum(), in NewJSPandaFile()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Daot_compiler_preprocessor.cpp29 using PGOProfilerManager = pgo::PGOProfilerManager;
300 return PGOProfilerManager::MergeApFiles(checksum, profilerDecoder_); in HandleMergedPgoFile()
H A Dpass_manager.cpp33 using PGOProfilerManager = pgo::PGOProfilerManager;
/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dframe_handler.cpp162 pgo::PGOProfilerManager* pm = pgo::PGOProfilerManager::GetInstance(); in GetAbcId()
/arkcompiler/ets_runtime/ecmascript/jit/
H A Djit_profiler.h42 class PGOProfilerManager;
H A Djit.cpp52 isEnableAppPGO_ = pgo::PGOProfilerManager::GetInstance()->IsEnable(); in SetJitEnablePostFork()
71 if (!pgo::PGOProfilerManager::GetInstance()->IsEnable()) { in SwitchProfileStubs()
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_second_tests.cpp80 using PGOProfilerManager = panda::ecmascript::pgo::PGOProfilerManager;
H A Djsnapi_third_tests.cpp71 using PGOProfilerManager = panda::ecmascript::pgo::PGOProfilerManager;
H A Djsnapi_first_tests.cpp74 using PGOProfilerManager = panda::ecmascript::pgo::PGOProfilerManager;
2114 ASSERT_FALSE(ecmascript::pgo::PGOProfilerManager::GetInstance()->RequestAot("com.test.test", "requestAot", in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi_expo.cpp143 using PGOProfilerManager = ecmascript::pgo::PGOProfilerManager;
4213 ecmascript::pgo::PGOProfilerManager::GetInstance()->SetModuleName(moduleName); in SetModuleName()
5062 if (ecmascript::pgo::PGOProfilerManager::GetInstance()->IsDisableAot()) { in LoadAotFileInternal()
5326 ecmascript::pgo::PGOProfilerManager::GetInstance()->SetBundleName(option.GetBundleName()); in PostFork()
5327 ecmascript::pgo::PGOProfilerManager::GetInstance()->SetMaxAotMethodSize(jsOption.GetMaxAotMethodSize()); in PostFork()
5328 ecmascript::pgo::PGOProfilerManager::GetInstance()->SetEnableForceIC(jsOption.IsEnableForceIC()); in PostFork()
5634 ecmascript::pgo::PGOProfilerManager::GetInstance()->SetRequestAotCallback(cb); in SetRequestAotCallback()

Completed in 43 milliseconds

12