/arkcompiler/ets_runtime/ecmascript/napi/ |
D | dfx_jsnapi.cpp | 53 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int dumpFormat, in DumpHeapSnapshot() 65 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int dumpFormat, in DumpHeapSnapshot() 83 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int dumpFormat, in DumpHeapSnapshot() 91 if (DFXJSNApi::StopCpuProfilerForColdStart(vm)) { in DumpHeapSnapshot() 96 if (DFXJSNApi::CpuProfilerSamplingAnyTime(vm)) { in DumpHeapSnapshot() 125 void DFXJSNApi::DestroyHeapProfiler([[maybe_unused]] const EcmaVM *vm) in DestroyHeapProfiler() 134 bool DFXJSNApi::BuildNativeAndJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr) in BuildNativeAndJsStackTrace() 156 bool DFXJSNApi::BuildJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr) in BuildJsStackTrace() 165 bool DFXJSNApi::StartHeapTracking([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] double timeIn… in StartHeapTracking() 180 bool DFXJSNApi::UpdateHeapTracking([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] Stream *stre… in UpdateHeapTracking() [all …]
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
D | dfx_jsnapi_tests.cpp | 90 … DFXJSNApi::DumpHeapSnapshot(vm_, dumpFormat, filePath, isVmMode, isPrivate, captureNumericValue); in HWTEST_F_L0() 122 …DFXJSNApi::DumpHeapSnapshot(vm_, dumpFormat, &stream, progress, isVmMode, isPrivate, captureNumeri… in HWTEST_F_L0() 140 result = DFXJSNApi::BuildNativeAndJsStackTrace(vm_, stackTraceStr); in HWTEST_F_L0() 153 bool result = DFXJSNApi::BuildJsStackTrace(vm_, stackTraceStr); in HWTEST_F_L0() 174 … startResult = DFXJSNApi::StartHeapTracking(vm_, timeInterval, isVmMode, stream, traceAllocation); in HWTEST_F_L0() 189 bool stopResult = DFXJSNApi::StopHeapTracking(vm_, filePath); in HWTEST_F_L0() 222 … startResult = DFXJSNApi::StartHeapTracking(vm_, timeInterval, isVmMode, stream, traceAllocation); in HWTEST_F_L0() 237 bool stopResult = DFXJSNApi::StopHeapTracking(vm_, &fileStream); in HWTEST_F_L0() 267 DFXJSNApi::StartRuntimeStat(vm_); in HWTEST_F_L0() 270 DFXJSNApi::StopRuntimeStat(vm_); in HWTEST_F_L0() [all …]
|
/arkcompiler/toolchain/tooling/agent/ |
D | heapprofiler_impl.cpp | 272 panda::DFXJSNApi::DestroyHeapProfiler(vm_); in Disable() 292 auto samplingInfo = panda::DFXJSNApi::GetAllocationProfile(vm_); in GetSamplingProfile() 303 bool result = panda::DFXJSNApi::StartSampling(vm_, samplingInterval); in StartSampling() 314 panda::DFXJSNApi::StopSampling(vm_); in StopSampling() 326 …bool result = panda::DFXJSNApi::StartHeapTracking(vm_, INTERVAL, true, &stream_, traceAllocation, … in StartTrackingHeapObjects() 352 panda::DFXJSNApi::UpdateHeapTracking(heapProfilerImpl->vm_, &(heapProfilerImpl->stream_)); in HeapTrackingCallback() 361 result = panda::DFXJSNApi::StopHeapTracking(vm_, &stream_, &progress, false); in StopTrackingHeapObjects() 363 result = panda::DFXJSNApi::StopHeapTracking(vm_, &stream_, nullptr, false); in StopTrackingHeapObjects() 377 … panda::DFXJSNApi::DumpHeapSnapshot(vm_, 0, &stream_, &progress, true, false, captureNumericValue); in TakeHeapSnapshot() 379 … panda::DFXJSNApi::DumpHeapSnapshot(vm_, 0, &stream_, nullptr, true, false, captureNumericValue); in TakeHeapSnapshot()
|
D | profiler_impl.cpp | 167 panda::DFXJSNApi::StartCpuProfilerForInfo(vm_); in Start() 173 auto profileInfo = panda::DFXJSNApi::StopCpuProfilerForInfo(vm_); in Stop() 184 panda::DFXJSNApi::SetCpuSamplingInterval(vm_, params.GetInterval()); in SetSamplingInterval()
|
D | runtime_impl.cpp | 169 *totalSize = static_cast<double>(DFXJSNApi::GetHeapTotalSize(vm_)); in GetHeapUsage() 170 *usedSize = static_cast<double>(DFXJSNApi::GetHeapUsedSize(vm_)); in GetHeapUsage()
|
/arkcompiler/ets_runtime/test/fuzztest/stopsampling_fuzzer/ |
D | stopsampling_fuzzer.cpp | 43 DFXJSNApi::StartSampling(vm, key); in StopSamplingFuzzerTest() 44 DFXJSNApi::StopSampling(vm); in StopSamplingFuzzerTest()
|
/arkcompiler/ets_runtime/test/fuzztest/getallocationprofile_fuzzer/ |
D | getallocationprofile_fuzzer.cpp | 43 DFXJSNApi::StartSampling(vm, key); in GetAllocationProfileFuzzerTest() 44 DFXJSNApi::GetAllocationProfile(vm); in GetAllocationProfileFuzzerTest()
|
/arkcompiler/ets_runtime/test/fuzztest/startcpuprofilerforfile_fuzzer/ |
D | startcpuprofilerforfile_fuzzer.cpp | 34 DFXJSNApi::StartCpuProfilerForFile(vm, fileName); in StartCpuProfilerForFileFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/buildjsstacktrace_fuzzer/ |
D | buildjsstacktrace_fuzzer.cpp | 35 DFXJSNApi::BuildJsStackTrace(vm, filePath); in BuildJsStackTraceFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/buildnativeandJsstacktrace_fuzzer/ |
D | buildnativeandJsstacktrace_fuzzer.cpp | 35 DFXJSNApi::BuildNativeAndJsStackTrace(vm, path); in BuildNativeAndJsStackTraceFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/notifyapplicationstate_fuzzer/ |
D | notifyapplicationstate_fuzzer.cpp | 48 DFXJSNApi::NotifyApplicationState(vm, inBackground); in NotifyApplicationStateFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/startsampling_fuzzer/ |
D | startsampling_fuzzer.cpp | 43 DFXJSNApi::StartSampling(vm, key); in StartSamplingFuzzerTest()
|
/arkcompiler/ets_runtime/test/fuzztest/setcpusamplinginterval_fuzzer/ |
D | setcpusamplinginterval_fuzzer.cpp | 46 DFXJSNApi::SetCpuSamplingInterval(vm, key); in SetCpuSamplingIntervalFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/dumpheapsnapshot1_fuzzer/ |
D | dumpheapsnapshot1_fuzzer.cpp | 47 DFXJSNApi::DumpHeapSnapshot(vm, input, isVmMode, isPrivate, captureNumericValue); in DumpHeapSnapshot1FuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/notifyidletime_fuzzer/ |
D | notifyidletime_fuzzer.cpp | 47 DFXJSNApi::NotifyIdleTime(vm, key); in NotifyIdleTimeFuzzTest()
|
/arkcompiler/ets_runtime/test/fuzztest/dumpheapsnapshot2_fuzzer/ |
D | dumpheapsnapshot2_fuzzer.cpp | 48 DFXJSNApi::DumpHeapSnapshot(vm, input, path, isVmMode, isPrivate, captureNumericValue); in DumpHeapSnapshot2FuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
D | dfx_jsnapi.h | 40 class DFXJSNApi; variable 49 class PUBLIC_API DFXJSNApi {
|
/arkcompiler/ets_runtime/test/fuzztest/dumpheapsnapshot3_fuzzer/ |
D | dumpheapsnapshot3_fuzzer.cpp | 52 …DFXJSNApi::DumpHeapSnapshot(vm, input, &stream, progress, isVmMode, isPrivate, captureNumericValue… in DumpHeapSnapshot3FuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_vm.cpp | 233 DFXJSNApi::StopCpuProfilerForFile(this); in ~EcmaVM() 341 … DFXJSNApi::StartCpuProfilerForFile(this, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CheckStartCpuProfiler() 354 … DFXJSNApi::StartCpuProfilerForFile(this, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CheckStartCpuProfiler() 671 return DFXJSNApi::SuspendVM(iter->second); in SuspendWorkerVm() 683 DFXJSNApi::ResumeVM(iter->second); in ResumeWorkerVm()
|
D | js_thread.cpp | 464 DFXJSNApi::StartCpuProfilerForFile(vm_, profileName_, CpuProfiler::INTERVAL_OF_INNER_START); in CheckSafepoint()
|
/arkcompiler/ets_runtime/ |
D | libark_jsruntime.map | 56 panda::DFXJSNApi::*;
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_ark_tools.cpp | 230 DFXJSNApi::StartCpuProfilerForFile(vm, fileName, interval); in StartCpuProfiler() 239 DFXJSNApi::StopCpuProfilerForFile(vm); in StopCpuProfiler()
|