Home
last modified time | relevance | path

Searched refs:DFXJSNApi (Results 1 – 22 of 22) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/napi/
Ddfx_jsnapi.cpp53 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/
Ddfx_jsnapi_tests.cpp90DFXJSNApi::DumpHeapSnapshot(vm_, dumpFormat, filePath, isVmMode, isPrivate, captureNumericValue); in HWTEST_F_L0()
122DFXJSNApi::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/
Dheapprofiler_impl.cpp272 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()
Dprofiler_impl.cpp167 panda::DFXJSNApi::StartCpuProfilerForInfo(vm_); in Start()
173 auto profileInfo = panda::DFXJSNApi::StopCpuProfilerForInfo(vm_); in Stop()
184 panda::DFXJSNApi::SetCpuSamplingInterval(vm_, params.GetInterval()); in SetSamplingInterval()
Druntime_impl.cpp169 *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/
Dstopsampling_fuzzer.cpp43 DFXJSNApi::StartSampling(vm, key); in StopSamplingFuzzerTest()
44 DFXJSNApi::StopSampling(vm); in StopSamplingFuzzerTest()
/arkcompiler/ets_runtime/test/fuzztest/getallocationprofile_fuzzer/
Dgetallocationprofile_fuzzer.cpp43 DFXJSNApi::StartSampling(vm, key); in GetAllocationProfileFuzzerTest()
44 DFXJSNApi::GetAllocationProfile(vm); in GetAllocationProfileFuzzerTest()
/arkcompiler/ets_runtime/test/fuzztest/startcpuprofilerforfile_fuzzer/
Dstartcpuprofilerforfile_fuzzer.cpp34 DFXJSNApi::StartCpuProfilerForFile(vm, fileName); in StartCpuProfilerForFileFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/buildjsstacktrace_fuzzer/
Dbuildjsstacktrace_fuzzer.cpp35 DFXJSNApi::BuildJsStackTrace(vm, filePath); in BuildJsStackTraceFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/buildnativeandJsstacktrace_fuzzer/
DbuildnativeandJsstacktrace_fuzzer.cpp35 DFXJSNApi::BuildNativeAndJsStackTrace(vm, path); in BuildNativeAndJsStackTraceFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/notifyapplicationstate_fuzzer/
Dnotifyapplicationstate_fuzzer.cpp48 DFXJSNApi::NotifyApplicationState(vm, inBackground); in NotifyApplicationStateFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/startsampling_fuzzer/
Dstartsampling_fuzzer.cpp43 DFXJSNApi::StartSampling(vm, key); in StartSamplingFuzzerTest()
/arkcompiler/ets_runtime/test/fuzztest/setcpusamplinginterval_fuzzer/
Dsetcpusamplinginterval_fuzzer.cpp46 DFXJSNApi::SetCpuSamplingInterval(vm, key); in SetCpuSamplingIntervalFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/dumpheapsnapshot1_fuzzer/
Ddumpheapsnapshot1_fuzzer.cpp47 DFXJSNApi::DumpHeapSnapshot(vm, input, isVmMode, isPrivate, captureNumericValue); in DumpHeapSnapshot1FuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/notifyidletime_fuzzer/
Dnotifyidletime_fuzzer.cpp47 DFXJSNApi::NotifyIdleTime(vm, key); in NotifyIdleTimeFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/dumpheapsnapshot2_fuzzer/
Ddumpheapsnapshot2_fuzzer.cpp48 DFXJSNApi::DumpHeapSnapshot(vm, input, path, isVmMode, isPrivate, captureNumericValue); in DumpHeapSnapshot2FuzzTest()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Ddfx_jsnapi.h40 class DFXJSNApi; variable
49 class PUBLIC_API DFXJSNApi {
/arkcompiler/ets_runtime/test/fuzztest/dumpheapsnapshot3_fuzzer/
Ddumpheapsnapshot3_fuzzer.cpp52DFXJSNApi::DumpHeapSnapshot(vm, input, &stream, progress, isVmMode, isPrivate, captureNumericValue… in DumpHeapSnapshot3FuzzTest()
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.cpp233 DFXJSNApi::StopCpuProfilerForFile(this); in ~EcmaVM()
341DFXJSNApi::StartCpuProfilerForFile(this, fileName, CpuProfiler::INTERVAL_OF_INNER_START); in CheckStartCpuProfiler()
354DFXJSNApi::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()
Djs_thread.cpp464 DFXJSNApi::StartCpuProfilerForFile(vm_, profileName_, CpuProfiler::INTERVAL_OF_INNER_START); in CheckSafepoint()
/arkcompiler/ets_runtime/
Dlibark_jsruntime.map56 panda::DFXJSNApi::*;
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_ark_tools.cpp230 DFXJSNApi::StartCpuProfilerForFile(vm, fileName, interval); in StartCpuProfiler()
239 DFXJSNApi::StopCpuProfilerForFile(vm); in StopCpuProfiler()