Home
last modified time | relevance | path

Searched refs:CpuProfiler (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dcpu_profiler.cpp30 Mutex CpuProfiler::synchronizationMutex_;
31 CMap<pthread_t, const EcmaVM *> CpuProfiler::profilerMap_ = CMap<pthread_t, const EcmaVM *>();
32 CpuProfiler::CpuProfiler(const EcmaVM *vm, const int interval) : vm_(vm), interval_(interval) in CpuProfiler() function in panda::ecmascript::CpuProfiler
50 void CpuProfiler::StartCpuProfilerForInfo() in StartCpuProfilerForInfo()
93 void CpuProfiler::StartCpuProfilerForFile(const std::string &fileName) in StartCpuProfilerForFile()
156 std::unique_ptr<struct ProfileInfo> CpuProfiler::StopCpuProfilerForInfo() in StopCpuProfilerForInfo()
184 void CpuProfiler::SetCpuSamplingInterval(int interval) in SetCpuSamplingInterval()
189 void CpuProfiler::StopCpuProfilerForFile() in StopCpuProfilerForFile()
220 CpuProfiler::~CpuProfiler() in ~CpuProfiler()
237 void CpuProfiler::SetProfileStart(uint64_t nowTimeStamp) in SetProfileStart()
[all …]
Dcpu_profiler.h75 class CpuProfiler {
98 explicit CpuProfiler(const EcmaVM *vm, const int interval = CPUPROFILER_DEFAULT_INTERVAL);
99 virtual ~CpuProfiler();
127 inline explicit CallNapiScope(CpuProfiler *profiler) in CallNapiScope()
138 CpuProfiler *profiler_ {nullptr};
Dsamples_record.cpp804 auto vm = CpuProfiler::GetVmbyTid(tid); in AddStartTraceEvent()
826 auto vm = CpuProfiler::GetVmbyTid(tid); in AddTraceEvent()
/arkcompiler/ets_runtime/ecmascript/napi/
Ddfx_jsnapi.cpp43 using ecmascript::CpuProfiler;
408 … DFXJSNApi::StartCpuProfilerForFile(vm, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CpuProfilerSamplingAnyTime()
466 CpuProfiler *profiler = vm->GetProfiler(); in StartCpuProfilerForFile()
468 profiler = new CpuProfiler(vm, interval); in StartCpuProfilerForFile()
483 CpuProfiler *profiler = vm->GetProfiler(); in StopCpuProfilerForFile()
506 CpuProfiler *profiler = vm->GetProfiler(); in StartCpuProfilerForInfo()
508 profiler = new CpuProfiler(vm, interval); in StartCpuProfilerForInfo()
523 CpuProfiler *profiler = vm->GetProfiler(); in StopCpuProfilerForInfo()
552 CpuProfiler *profiler = vm->GetProfiler(); in SetCpuSamplingInterval()
554 profiler = new CpuProfiler(vm, interval); in SetCpuSamplingInterval()
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.h51 class CpuProfiler; variable
464 CpuProfiler *GetProfiler() const in GetProfiler()
469 void SetProfiler(CpuProfiler *profiler) in SetProfiler()
662 CpuProfiler *profiler_ {nullptr};
Decma_vm.cpp394 … DFXJSNApi::StartCpuProfilerForFile(this, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CheckStartCpuProfiler()
407 … DFXJSNApi::StartCpuProfilerForFile(this, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CheckStartCpuProfiler()
Djs_thread.cpp563 DFXJSNApi::StartCpuProfilerForFile(vm_, profileName_, CpuProfiler::INTERVAL_OF_INNER_START); in CheckSafepoint()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackgetter.cpp25 class CpuProfiler;