Lines Matching defs:profiler

580     LOG_ECMA(ERROR) << "Not support arkcompiler cpu profiler";
651 LOG_ECMA(ERROR) << "Not support arkcompiler cpu profiler";
670 CpuProfiler *profiler = vm->GetProfiler();
671 if (profiler == nullptr) {
672 profiler = new CpuProfiler(vm, interval);
673 const_cast<EcmaVM *>(vm)->SetProfiler(profiler);
675 return profiler->StartCpuProfilerForFile(fileName);
677 LOG_ECMA(ERROR) << "DFXJSNApi::StartCpuProfilerForFile, not support cpu profiler";
690 CpuProfiler *profiler = vm->GetProfiler();
691 if (profiler == nullptr) {
692 LOG_ECMA(ERROR) << "DFXJSNApi::StopCpuProfilerForFile, profiler == nullptr";
695 bool result = profiler->StopCpuProfilerForFile();
700 delete profiler;
701 profiler = nullptr;
704 LOG_ECMA(ERROR) << "Not support arkcompiler cpu profiler";
720 CpuProfiler *profiler = vm->GetProfiler();
721 if (profiler == nullptr) {
722 profiler = new CpuProfiler(vm, interval);
723 const_cast<EcmaVM *>(vm)->SetProfiler(profiler);
725 return profiler->StartCpuProfilerForInfo();
727 LOG_ECMA(ERROR) << "DFXJSNApi::StartCpuProfilerForInfo, not support cpu profiler";
740 CpuProfiler *profiler = vm->GetProfiler();
741 if (profiler == nullptr) {
742 LOG_ECMA(ERROR) << "DFXJSNApi::StopCpuProfilerForInfo, profiler == nullptr";
746 bool result = profiler->StopCpuProfilerForInfo(profileInfo);
751 delete profiler;
752 profiler = nullptr;
756 LOG_ECMA(ERROR) << "Not support arkcompiler cpu profiler";
772 CpuProfiler *profiler = vm->GetProfiler();
773 if (profiler == nullptr) {
774 profiler = new CpuProfiler(vm, interval);
775 const_cast<EcmaVM *>(vm)->SetProfiler(profiler);
778 profiler->SetCpuSamplingInterval(interval);
780 LOG_ECMA(ERROR) << "Not support arkcompiler cpu profiler";