Home
last modified time | relevance | path

Searched refs:CpuProfiler (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
H A Dcpu_profiler.cpp36 Mutex CpuProfiler::synchronizationMutex_;
37 CMap<pthread_t, struct TaskInfo> CpuProfiler::profilerMap_ = CMap<pthread_t, struct TaskInfo>();
38 CpuProfiler::CpuProfiler(const EcmaVM *vm, const int interval) : vm_(vm), interval_(interval) in CpuProfiler() function in panda::ecmascript::CpuProfiler
56 bool CpuProfiler::RegisterGetStackSignal() in RegisterGetStackSignal()
61 LOG_ECMA(ERROR) << "CpuProfiler::RegisterGetStackSignal, sigemptyset failed, errno = " << errno; in RegisterGetStackSignal()
66 LOG_ECMA(ERROR) << "CpuProfiler::RegisterGetStackSignal, sigaction failed, errno = " << errno; in RegisterGetStackSignal()
72 bool CpuProfiler::StartCpuProfilerForInfo() in StartCpuProfilerForInfo()
74 LOG_ECMA(INFO) << "CpuProfiler::StartCpuProfilerForInfo, sampling interval = " << interval_; in StartCpuProfilerForInfo()
76 LOG_ECMA(ERROR) << "CpuProfiler in StartCpuProfilerForInfo()
[all...]
H A Dcpu_profiler.h92 class CpuProfiler { class
117 explicit CpuProfiler(const EcmaVM *vm, const int interval = CPUPROFILER_DEFAULT_INTERVAL);
118 virtual ~CpuProfiler();
148 inline explicit CallNapiScope(CpuProfiler *profiler) in CallNapiScope()
159 CpuProfiler *profiler_ {nullptr};
H A Dsamples_record.cpp624 auto vm = CpuProfiler::GetVmbyTid(tid); in AddStartTraceEvent()
626 LOG_ECMA(ERROR) << "CpuProfiler get vm from tid failed"; in AddStartTraceEvent()
646 auto vm = CpuProfiler::GetVmbyTid(tid); in AddTraceEvent()
648 LOG_ECMA(ERROR) << "CpuProfiler get vm from tid failed"; in AddTraceEvent()
/arkcompiler/ets_runtime/ecmascript/napi/
H A Ddfx_jsnapi.cpp43 using ecmascript::CpuProfiler;
89 // for CpuProfiler kill contral in DumpCpuProfile()
591 LOG_ECMA(INFO) << "Start CpuProfiler Any Time Main Thread, killCount = " << killCount; in CpuProfilerAnyTimeMainThread()
597 DFXJSNApi::StartCpuProfilerForFile(vm, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CpuProfilerAnyTimeMainThread()
600 LOG_ECMA(INFO) << "Stop CpuProfiler Any Time Main Thread, killCount = " << killCount; in CpuProfilerAnyTimeMainThread()
624 LOG_ECMA(INFO) << "Start CpuProfiler Any Time Worker Thread, killCount = " << killCount; in CpuProfilerSamplingAnyTime()
638 LOG_ECMA(INFO) << "Stop CpuProfiler Any Time Worker Thread, killCount = " << killCount; in CpuProfilerSamplingAnyTime()
670 CpuProfiler *profiler = vm->GetProfiler(); in StartCpuProfilerForFile()
672 profiler = new CpuProfiler(vm, interval); in StartCpuProfilerForFile()
690 CpuProfiler *profile in StopCpuProfilerForFile()
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Decma_vm.h51 class CpuProfiler;
538 CpuProfiler *GetProfiler() const in GetProfiler()
543 void SetProfiler(CpuProfiler *profiler) in SetProfiler()
891 CpuProfiler *profiler_ {nullptr};
H A Decma_vm.cpp528 DFXJSNApi::StartCpuProfilerForFile(this, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CheckStartCpuProfiler()
541 DFXJSNApi::StartCpuProfilerForFile(this, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CheckStartCpuProfiler()
H A Djs_thread.cpp791 DFXJSNApi::StartCpuProfilerForFile(vm_, profileName_, CpuProfiler::INTERVAL_OF_INNER_START); in CheckSafepoint()
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/tests/
H A Dcpu_profiler_test.cpp69 CpuProfiler cpu_profiler;
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
H A Djs_stackgetter.cpp23 class CpuProfiler;

Completed in 10 milliseconds