Home
last modified time | relevance | path

Searched refs:profiler (Results 1 – 21 of 21) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_manager.h74 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/
Ddfx_jsnapi.cpp370 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/
Dprofiler_impl_test.cpp55 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/
Dcpu_profiler.cpp381 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 …]
Dcpu_profiler.h123 inline explicit CallNapiScope(CpuProfiler *profiler) in CallNapiScope() argument
125 profiler_ = profiler; in CallNapiScope()
/arkcompiler/ets_runtime/ecmascript/mem/
Dallocation_inspector.h27 explicit AllocationInspector(Heap *heap, uint64_t rate, HeapSampling *profiler) in AllocationInspector() argument
29 profiler_(profiler), in AllocationInspector()
Dheap.cpp585 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/
Dprofiler_impl.h47 DispatcherImpl(ProtocolChannel *channel, std::unique_ptr<ProfilerImpl> profiler) in DispatcherImpl() argument
48 : DispatcherBase(channel), profiler_(std::move(profiler)) {} in DispatcherImpl()
/arkcompiler/toolchain/tooling/
Ddispatcher.cpp136 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/
DREADME_zh.md11 …er)等针对ArkTS应用程序的调试调优工具。如需查看调试调优工具具体支持特性,请前往[调试调优工具介绍](docs/debugger-and-profiler-tools-introductio…
/arkcompiler/ets_runtime/ecmascript/compiler/
Dprofiler_stub_builder.cpp57 Label profiler(env); in ProfileOpType() local
59 Branch(TaggedIsUndefined(profileTypeInfo), &slowpath, &profiler); in ProfileOpType()
69 Bind(&profiler); in ProfileOpType()
Dinterpreter_stub.cpp66 …ProfilerStubBuilder profiler(this); …
67profiler.PGOProfiler(glue, pc, GetFunctionFromFrame(GetFrame(sp)), profileTypeInfo, values, type);…
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.h362 void SetProfiler(CpuProfiler *profiler) in SetProfiler() argument
364 profiler_ = profiler; in SetProfiler()
Djs_object.cpp807 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/
Dcfi_directives.md26 `Debugger` or `profiler` will use this information in unwinding:
/arkcompiler/ets_runtime/docs/
DREADME_zh.md687 | --enable-pgo-profiler | 开启pgo工具。默认值:“false” |
688 | --pgo-profiler-path | pgo profiler文件的保存路径。默认值:当前路径 |
704 | --pgo-profiler-path | pgo profiler文件路径。默认值:“none” |
/arkcompiler/ets_runtime/
DBUILD.gn333 # not support profiler on Windows yet
343 # not support profiler on MacOS yet
365 # not support profiler on iOS yet
/arkcompiler/ets_runtime/test/
Dtest_helper.gni786 " --enable-pgo-profiler=true" + " --compiler-pgo-profiler-path=" +
843 _aot_compile_options_ += " --compiler-pgo-profiler-path=" +
/arkcompiler/toolchain/build/third_party_gn/protobuf/
DBUILD.gn14 import("//developtools/profiler/build/config.gni")
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp1913 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/
Dcocos_worker_test.js9621 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;