Lines Matching defs:vm
67 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] const std::str… in DumpHeapSnapshot()
83 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] Stream *stream, in DumpHeapSnapshot()
114 void DFXJSNApi::DumpCpuProfile([[maybe_unused]] const EcmaVM *vm) in DumpCpuProfile()
138 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, in DumpHeapSnapshot()
179 void DFXJSNApi::DumpHeapSnapshot([[maybe_unused]] const EcmaVM *vm, in DumpHeapSnapshot()
193 void DFXJSNApi::DumpHeapSnapshotWithVm([[maybe_unused]] const EcmaVM *vm, in DumpHeapSnapshotWithVm()
249 void DFXJSNApi::TriggerGC([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] uint32_t tid) in TriggerGC()
274 void DFXJSNApi::TriggerSharedGCWithVm([[maybe_unused]] const EcmaVM *vm) in TriggerSharedGCWithVm()
294 EcmaVM *vm = static_cast<EcmaVM *>(work->data); in TriggerSharedGCWithVm() local
310 void DFXJSNApi::TriggerGCWithVm([[maybe_unused]] const EcmaVM *vm) in TriggerGCWithVm()
330 EcmaVM *vm = static_cast<EcmaVM *>(work->data); in TriggerGCWithVm() local
343 void DFXJSNApi::DestroyHeapProfiler([[maybe_unused]] const EcmaVM *vm) in DestroyHeapProfiler()
353 bool DFXJSNApi::BuildNativeAndJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr) in BuildNativeAndJsStackTrace()
362 bool DFXJSNApi::BuildJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr) in BuildJsStackTrace()
381 bool DFXJSNApi::StartHeapTracking([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] double timeIn… in StartHeapTracking()
397 bool DFXJSNApi::UpdateHeapTracking([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] Stream *stre… in UpdateHeapTracking()
411 bool DFXJSNApi::StopHeapTracking([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] const std::str… in StopHeapTracking()
423 bool DFXJSNApi::StopHeapTracking([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] Stream* stream, in StopHeapTracking()
441 void DFXJSNApi::PrintStatisticResult(const EcmaVM *vm) in PrintStatisticResult()
447 void DFXJSNApi::StartRuntimeStat(EcmaVM *vm) in StartRuntimeStat()
452 void DFXJSNApi::StopRuntimeStat(EcmaVM *vm) in StopRuntimeStat()
471 size_t DFXJSNApi::GetArrayBufferSize(const EcmaVM *vm) in GetArrayBufferSize()
480 size_t DFXJSNApi::GetHeapTotalSize(const EcmaVM *vm) in GetHeapTotalSize()
488 size_t DFXJSNApi::GetHeapUsedSize(const EcmaVM *vm) in GetHeapUsedSize()
497 size_t DFXJSNApi::GetHeapObjectSize(const EcmaVM *vm) in GetHeapObjectSize()
505 size_t DFXJSNApi::GetHeapLimitSize(const EcmaVM *vm) in GetHeapLimitSize()
521 size_t DFXJSNApi::GetGCCount(const EcmaVM *vm) in GetGCCount()
530 size_t DFXJSNApi::GetGCDuration(const EcmaVM *vm) in GetGCDuration()
539 size_t DFXJSNApi::GetAccumulatedAllocateSize(const EcmaVM *vm) in GetAccumulatedAllocateSize()
551 size_t DFXJSNApi::GetAccumulatedFreeSize(const EcmaVM *vm) in GetAccumulatedFreeSize()
563 size_t DFXJSNApi::GetFullGCLongTimeCount(const EcmaVM *vm) in GetFullGCLongTimeCount()
568 void DFXJSNApi::GetHeapPrepare(const EcmaVM *vm) in GetHeapPrepare()
574 void DFXJSNApi::SetJsDumpThresholds([[maybe_unused]] EcmaVM *vm, [[maybe_unused]] size_t thresholds) in SetJsDumpThresholds()
583 void DFXJSNApi::SetAppFreezeFilterCallback([[maybe_unused]] const EcmaVM *vm, AppFreezeFilterCallba… in SetAppFreezeFilterCallback()
590 void DFXJSNApi::NotifyApplicationState(EcmaVM *vm, bool inBackground) in NotifyApplicationState()
597 void DFXJSNApi::NotifyIdleStatusControl(const EcmaVM *vm, std::function<void(bool)> callback) in NotifyIdleStatusControl()
602 void DFXJSNApi::NotifyIdleTime(const EcmaVM *vm, int idleMicroSec) in NotifyIdleTime()
608 void DFXJSNApi::NotifyMemoryPressure(EcmaVM *vm, bool inHighMemoryPressure) in NotifyMemoryPressure()
613 void DFXJSNApi::NotifyFinishColdStart(EcmaVM *vm, [[maybe_unused]] bool isConvinced) in NotifyFinishColdStart()
618 void DFXJSNApi::NotifyHighSensitive(EcmaVM *vm, bool isStart) in NotifyHighSensitive()
623 void DFXJSNApi::NotifyWarmStart(EcmaVM *vm) in NotifyWarmStart()
632 bool DFXJSNApi::AllowWarmStartGcRestrain(EcmaVM *vm) in AllowWarmStartGcRestrain()
655 bool DFXJSNApi::StopCpuProfilerForColdStart([[maybe_unused]] const EcmaVM *vm) in StopCpuProfilerForColdStart()
682 void DFXJSNApi::CpuProfilerAnyTimeMainThread(const EcmaVM *vm) in CpuProfilerAnyTimeMainThread()
704 bool DFXJSNApi::CpuProfilerSamplingAnyTime([[maybe_unused]] const EcmaVM *vm) in CpuProfilerSamplingAnyTime()
752 bool DFXJSNApi::StartCpuProfilerForFile([[maybe_unused]] const EcmaVM *vm, in StartCpuProfilerForFile()
778 void DFXJSNApi::StopCpuProfilerForFile([[maybe_unused]] const EcmaVM *vm) in StopCpuProfilerForFile()
804 bool DFXJSNApi::StartCpuProfilerForInfo([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int int… in StartCpuProfilerForInfo()
828 std::unique_ptr<ProfileInfo> DFXJSNApi::StopCpuProfilerForInfo([[maybe_unused]] const EcmaVM *vm) in StopCpuProfilerForInfo()
857 void DFXJSNApi::SetCpuSamplingInterval([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] int inte… in SetCpuSamplingInterval()
891 bool DFXJSNApi::SuspendVM([[maybe_unused]] const EcmaVM *vm) in SuspendVM()
902 void DFXJSNApi::ResumeVM([[maybe_unused]] const EcmaVM *vm) in ResumeVM()
912 bool DFXJSNApi::IsSuspended([[maybe_unused]] const EcmaVM *vm) in IsSuspended()
923 void DFXJSNApi::TerminateExecution(const EcmaVM *vm) in TerminateExecution()
929 bool DFXJSNApi::CheckSafepoint([[maybe_unused]] const EcmaVM *vm) in CheckSafepoint()
942 EcmaVM *vm; in BuildJsStackInfoList() local
960 int32_t DFXJSNApi::GetObjectHash(const EcmaVM *vm, Local<JSValueRef> nativeObject) in GetObjectHash()
966 int32_t DFXJSNApi::GetObjectHashCode(const EcmaVM *vm, Local<JSValueRef> nativeObject) in GetObjectHashCode()
972 bool DFXJSNApi::StartSampling([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] uint64_t sampling… in StartSampling()
984 const SamplingInfo *DFXJSNApi::GetAllocationProfile([[maybe_unused]] const EcmaVM *vm) in GetAllocationProfile()
996 void DFXJSNApi::StopSampling([[maybe_unused]] const EcmaVM *vm) in StopSampling()
1009 bool DFXJSNApi::StartProfiler(EcmaVM *vm, const ProfilerOption &option, int tid, in StartProfiler()
1053 bool DFXJSNApi::StartTracing([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] std::string &categ… in StartTracing()
1072 std::unique_ptr<std::vector<TraceEvent>> DFXJSNApi::StopTracing([[maybe_unused]] const EcmaVM *vm) in StopTracing()
1097 void DFXJSNApi::GetTracingBufferUseage([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] double &… in GetTracingBufferUseage()
1115 void DFXJSNApi::TranslateJSStackInfo(const EcmaVM *vm, std::string &url, int32_t &line, int32_t &co… in TranslateJSStackInfo()
1131 void DFXJSNApi::RegisterAsyncDetectCallBack(const EcmaVM *vm) in RegisterAsyncDetectCallBack()
1136 void DFXJSNApi::GetMainThreadStackTrace(const EcmaVM *vm, std::string &stackTraceStr) in GetMainThreadStackTrace()
1162 JSHandle<JSTaggedValue> DFXJSNApi::FindFunctionForHook(const EcmaVM *vm, const std::string &recordN… in FindFunctionForHook()
1170 void DFXJSNApi::ReplaceFunctionForHook(const EcmaVM *vm, JSHandle<JSTaggedValue> &target, in ReplaceFunctionForHook()
1186 bool DFXJSNApi::LoadHookModule(const EcmaVM *vm) in LoadHookModule()