/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler_manager.cpp | 25 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 D | pgo_profiler_manager.h | 29 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 D | pgo_profiler_encoder.cpp | 250 if (!PGOProfilerManager::GetInstance()->RequestAot(bundleName_, moduleName_, RequestAotMode::RE_COMPILE_ON_IDLE)) { in RequestAot()
|
H A D | pgo_profiler.cpp | 36 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 D | pgo_profiler.h | 391 friend class PGOProfilerManager;
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | gc_key_stats.cpp | 32 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 D | jit_tools.h | 30 using PGOProfilerManager = panda::ecmascript::pgo::PGOProfilerManager;
|
H A D | ohos_pgo_processor.h | 97 return pgo::PGOProfilerManager::MergeApFiles(profilerIn, exportAp, hotnessThreshold, in ExportMergedAp()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/prof_dump/ |
H A D | main.cpp | 152 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 D | ecma_vm.cpp | 55 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 D | runtime.cpp | 25 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 D | js_thread.cpp | 100 jsThread->glueData_.isEnableForceIC_ = ecmascript::pgo::PGOProfilerManager::GetInstance()->IsEnableForceIC(); in Create()
|
/arkcompiler/ets_runtime/test/fuzztest/binarytotext_fuzzer/ |
H A D | binarytotext_fuzzer.cpp | 31 panda::ecmascript::pgo::PGOProfilerManager::GetInstance()->BinaryToText( in BinaryToTextFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/ |
H A D | pgo_profiler_test.cpp | 86 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 D | aot_snapshot.cpp | 74 if (!pgo::PGOProfilerManager::GetInstance()->GetPandaFileId(jsPandaFile->GetJSPandaFileDesc(), fileId)) { in StoreConstantPoolInfo()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | js_pandafile_manager.cpp | 26 using PGOProfilerManager = pgo::PGOProfilerManager; 416 PGOProfilerManager::GetInstance()->SamplePandaFileInfo(jsPandaFile->GetChecksum(), in NewJSPandaFile()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | aot_compiler_preprocessor.cpp | 29 using PGOProfilerManager = pgo::PGOProfilerManager; 300 return PGOProfilerManager::MergeApFiles(checksum, profilerDecoder_); in HandleMergedPgoFile()
|
H A D | pass_manager.cpp | 33 using PGOProfilerManager = pgo::PGOProfilerManager;
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | frame_handler.cpp | 162 pgo::PGOProfilerManager* pm = pgo::PGOProfilerManager::GetInstance(); in GetAbcId()
|
/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit_profiler.h | 42 class PGOProfilerManager;
|
H A D | jit.cpp | 52 isEnableAppPGO_ = pgo::PGOProfilerManager::GetInstance()->IsEnable(); in SetJitEnablePostFork() 71 if (!pgo::PGOProfilerManager::GetInstance()->IsEnable()) { in SwitchProfileStubs()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_second_tests.cpp | 80 using PGOProfilerManager = panda::ecmascript::pgo::PGOProfilerManager;
|
H A D | jsnapi_third_tests.cpp | 71 using PGOProfilerManager = panda::ecmascript::pgo::PGOProfilerManager;
|
H A D | jsnapi_first_tests.cpp | 74 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 D | jsnapi_expo.cpp | 143 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()
|