Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dcpu_profiler.cpp31 os::memory::Mutex CpuProfiler::synchronizationMutex_;
32 CMap<pthread_t, const EcmaVM *> CpuProfiler::profilerMap_ = CMap<pthread_t, const EcmaVM *>();
33 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()
90 void CpuProfiler::StartCpuProfilerForFile(const std::string &fileName) in StartCpuProfilerForFile()
150 std::unique_ptr<struct ProfileInfo> CpuProfiler::StopCpuProfilerForInfo() in StopCpuProfilerForInfo()
178 void CpuProfiler::SetCpuSamplingInterval(int interval) in SetCpuSamplingInterval()
183 void CpuProfiler::StopCpuProfilerForFile() in StopCpuProfilerForFile()
214 CpuProfiler::~CpuProfiler() in ~CpuProfiler()
231 void CpuProfiler::SetProfileStart(uint64_t nowTimeStamp) in SetProfileStart()
[all …]
Dcpu_profiler.h74 class CpuProfiler {
96 explicit CpuProfiler(const EcmaVM *vm, const int interval = CPUPROFILER_DEFAULT_INTERVAL);
97 virtual ~CpuProfiler();
123 inline explicit CallNapiScope(CpuProfiler *profiler) in CallNapiScope()
134 CpuProfiler *profiler_ {nullptr};
/arkcompiler/ets_runtime/ecmascript/napi/
Ddfx_jsnapi.cpp41 using ecmascript::CpuProfiler;
316 … DFXJSNApi::StartCpuProfilerForFile(vm, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CpuProfilerSamplingAnyTime()
370 CpuProfiler *profiler = vm->GetProfiler(); in StartCpuProfilerForFile()
372 profiler = new CpuProfiler(vm, interval); in StartCpuProfilerForFile()
387 CpuProfiler *profiler = vm->GetProfiler(); in StopCpuProfilerForFile()
406 CpuProfiler *profiler = vm->GetProfiler(); in StartCpuProfilerForInfo()
408 profiler = new CpuProfiler(vm, interval); in StartCpuProfilerForInfo()
423 CpuProfiler *profiler = vm->GetProfiler(); in StopCpuProfilerForInfo()
448 CpuProfiler *profiler = vm->GetProfiler(); in SetCpuSamplingInterval()
450 profiler = new CpuProfiler(vm, interval); in SetCpuSamplingInterval()
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.h49 class CpuProfiler; variable
357 CpuProfiler *GetProfiler() const in GetProfiler()
362 void SetProfiler(CpuProfiler *profiler) in SetProfiler()
478 CpuProfiler *profiler_ {nullptr};
Decma_vm.cpp335 … DFXJSNApi::StartCpuProfilerForFile(this, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CheckStartCpuProfiler()
348 … DFXJSNApi::StartCpuProfilerForFile(this, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CheckStartCpuProfiler()
Djs_thread.cpp443 DFXJSNApi::StartCpuProfilerForFile(vm_, profileName_, CpuProfiler::INTERVAL_OF_INNER_START); in CheckSafepoint()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackgetter.cpp24 class CpuProfiler;