/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler_manager.h | 74 void Destroy(PGOProfiler *profiler) in Destroy() argument 76 if (profiler != nullptr) { in Destroy() 77 Merge(profiler); in Destroy() 78 delete profiler; in Destroy() local 82 void Reset(PGOProfiler *profiler, bool isEnable) in Reset() argument 87 if (profiler) { in Reset() 88 profiler->Reset(isEnable); in Reset() 106 void Merge(PGOProfiler *profiler) in Merge() argument 108 if (encoder_ && profiler->isEnable_) { in Merge() 110 encoder_->Merge(*profiler->recordInfos_); in Merge()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | dfx_jsnapi.cpp | 370 CpuProfiler *profiler = vm->GetProfiler(); in StartCpuProfilerForFile() local 371 if (profiler == nullptr) { in StartCpuProfilerForFile() 372 profiler = new CpuProfiler(vm, interval); in StartCpuProfilerForFile() 373 const_cast<EcmaVM *>(vm)->SetProfiler(profiler); in StartCpuProfilerForFile() 375 profiler->StartCpuProfilerForFile(fileName); in StartCpuProfilerForFile() 387 CpuProfiler *profiler = vm->GetProfiler(); in StopCpuProfilerForFile() local 388 if (profiler == nullptr) { in StopCpuProfilerForFile() 391 profiler->StopCpuProfilerForFile(); in StopCpuProfilerForFile() 392 delete profiler; in StopCpuProfilerForFile() 393 profiler = nullptr; in StopCpuProfilerForFile() [all …]
|
/arkcompiler/toolchain/tooling/test/ |
D | profiler_impl_test.cpp | 55 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() local 56 DispatchResponse response = profiler->Disable(); in HWTEST_F_L0() 64 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() local 65 DispatchResponse response = profiler->Enable(); in HWTEST_F_L0() 74 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() local 75 DispatchResponse response = profiler->Start(); in HWTEST_F_L0() 77 DispatchResponse response1 = profiler->Stop(&profile); in HWTEST_F_L0() 86 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() local 88 DispatchResponse response = profiler->Stop(&profile); in HWTEST_F_L0() 97 auto profiler = std::make_unique<ProfilerImpl>(ecmaVm, channel); in HWTEST_F_L0() local [all …]
|
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
D | cpu_profiler.cpp | 381 CpuProfiler *profiler = nullptr; in GetStackSignalHandler() local 391 profiler = vm->GetProfiler(); in GetStackSignalHandler() 393 if (profiler == nullptr) { in GetStackSignalHandler() 399 if (profiler->GetBuildNapiStack() || thread->GetGcState()) { in GetStackSignalHandler() 400 if (profiler->generator_->SemPost(0) != 0) { in GetStackSignalHandler() 412 if (profiler->generator_->SemPost(0) != 0) { in GetStackSignalHandler() 419 if (thread->IsAsmInterpreter() && profiler->IsAddrAtStubOrAot(pc) && in GetStackSignalHandler() 420 !profiler->IsEntryFrameHeaderOrTail(thread, pc)) { in GetStackSignalHandler() 437 if (profiler->generator_->SemPost(0) != 0) { in GetStackSignalHandler() 445 profiler->GetStack(it); in GetStackSignalHandler() [all …]
|
D | cpu_profiler.h | 123 inline explicit CallNapiScope(CpuProfiler *profiler) in CallNapiScope() argument 125 profiler_ = profiler; in CallNapiScope()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | allocation_inspector.h | 27 explicit AllocationInspector(Heap *heap, uint64_t rate, HeapSampling *profiler) in AllocationInspector() argument 29 profiler_(profiler), in AllocationInspector()
|
D | heap.cpp | 585 HeapProfilerInterface *profiler = GetEcmaVM()->GetHeapProfile(); in OnAllocateEvent() local 586 if (profiler != nullptr) { in OnAllocateEvent() 588 profiler->AllocationEvent(address, size); in OnAllocateEvent() 597 HeapProfilerInterface *profiler = GetEcmaVM()->GetHeapProfile(); in OnMoveEvent() local 598 if (profiler != nullptr) { in OnMoveEvent() 600 profiler->MoveEvent(address, forwardAddress, size); in OnMoveEvent()
|
/arkcompiler/toolchain/tooling/agent/ |
D | profiler_impl.h | 47 DispatcherImpl(ProtocolChannel *channel, std::unique_ptr<ProfilerImpl> profiler) in DispatcherImpl() argument 48 : DispatcherBase(channel), profiler_(std::move(profiler)) {} in DispatcherImpl()
|
/arkcompiler/toolchain/tooling/ |
D | dispatcher.cpp | 136 auto profiler = std::make_unique<ProfilerImpl>(vm, channel); in Dispatcher() local 138 std::make_unique<ProfilerImpl::DispatcherImpl>(channel, std::move(profiler)); in Dispatcher()
|
/arkcompiler/toolchain/ |
D | README_zh.md | 11 …er)等针对ArkTS应用程序的调试调优工具。如需查看调试调优工具具体支持特性,请前往[调试调优工具介绍](docs/debugger-and-profiler-tools-introductio…
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | profiler_stub_builder.cpp | 57 Label profiler(env); in ProfileOpType() local 59 Branch(TaggedIsUndefined(profileTypeInfo), &slowpath, &profiler); in ProfileOpType() 69 Bind(&profiler); in ProfileOpType()
|
D | interpreter_stub.cpp | 66 …ProfilerStubBuilder profiler(this); … 67 …profiler.PGOProfiler(glue, pc, GetFunctionFromFrame(GetFrame(sp)), profileTypeInfo, values, type);…
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_vm.h | 362 void SetProfiler(CpuProfiler *profiler) in SetProfiler() argument 364 profiler_ = profiler; in SetProfiler()
|
D | js_object.cpp | 807 auto profiler = thread->GetEcmaVM()->GetPGOProfiler(); in CallSetter() local 808 profiler->ProfileCall(JSTaggedValue::VALUE_UNDEFINED, func.GetTaggedType()); in CallSetter() 833 auto profiler = thread->GetEcmaVM()->GetPGOProfiler(); in CallGetter() local 834 profiler->ProfileCall(JSTaggedValue::VALUE_UNDEFINED, func.GetTaggedType()); in CallGetter()
|
/arkcompiler/runtime_core/docs/ |
D | cfi_directives.md | 26 `Debugger` or `profiler` will use this information in unwinding:
|
/arkcompiler/ets_runtime/docs/ |
D | README_zh.md | 687 | --enable-pgo-profiler | 开启pgo工具。默认值:“false” | 688 | --pgo-profiler-path | pgo profiler文件的保存路径。默认值:当前路径 | 704 | --pgo-profiler-path | pgo profiler文件路径。默认值:“none” |
|
/arkcompiler/ets_runtime/ |
D | BUILD.gn | 333 # not support profiler on Windows yet 343 # not support profiler on MacOS yet 365 # not support profiler on iOS yet
|
/arkcompiler/ets_runtime/test/ |
D | test_helper.gni | 786 " --enable-pgo-profiler=true" + " --compiler-pgo-profiler-path=" + 843 _aot_compile_options_ += " --compiler-pgo-profiler-path=" +
|
/arkcompiler/toolchain/build/third_party_gn/protobuf/ |
D | BUILD.gn | 14 import("//developtools/profiler/build/config.gni")
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs.cpp | 1913 OptCodeProfiler *profiler = thread->GetCurrentEcmaContext()->GetOptCodeProfiler(); in DEF_RUNTIME_STUBS() local 1914 profiler->Update(ecmaOpcode, mode); in DEF_RUNTIME_STUBS()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
D | cocos_worker_test.js | 9621 return !!m.profiler && m.profiler.isShowingStats(); 9624 m.profiler && (t ? m.profiler.showStats() : m.profiler.hideStats()); 114030 IR.root.pipeline.profiler = null; 114193 …this._meshRenderer.model ? IR.root.pipeline.profiler = this._meshRenderer.model : IR.root.pipeline… 114233 m.profiler = DIt;
|