Searched refs:CpuProfiler (Results 1 – 8 of 8) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
D | cpu_profiler.cpp | 30 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 …]
|
D | cpu_profiler.h | 75 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};
|
D | samples_record.cpp | 804 auto vm = CpuProfiler::GetVmbyTid(tid); in AddStartTraceEvent() 826 auto vm = CpuProfiler::GetVmbyTid(tid); in AddTraceEvent()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | dfx_jsnapi.cpp | 43 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/ |
D | ecma_vm.h | 51 class CpuProfiler; variable 464 CpuProfiler *GetProfiler() const in GetProfiler() 469 void SetProfiler(CpuProfiler *profiler) in SetProfiler() 662 CpuProfiler *profiler_ {nullptr};
|
D | ecma_vm.cpp | 394 … DFXJSNApi::StartCpuProfilerForFile(this, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CheckStartCpuProfiler() 407 … DFXJSNApi::StartCpuProfilerForFile(this, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CheckStartCpuProfiler()
|
D | js_thread.cpp | 563 DFXJSNApi::StartCpuProfilerForFile(vm_, profileName_, CpuProfiler::INTERVAL_OF_INNER_START); in CheckSafepoint()
|
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
D | js_stackgetter.cpp | 25 class CpuProfiler;
|