Lines Matching full:static
64 …static void DumpHeapSnapshot(const EcmaVM *vm, int dumpFormat, const std::string &path, bool isVmM…
66 …static void DumpHeapSnapshot(const EcmaVM *vm, int dumpFormat, Stream *stream, Progress *progress …
69 …static void DumpCpuProfile(const EcmaVM *vm, int dumpFormat, bool isVmMode = true, bool isPrivate …
71 …static void DumpHeapSnapshot(const EcmaVM *vm, int dumpFormat, bool isVmMode = true, bool isPrivat…
73 …static void DumpHeapSnapshotAllVMs(const EcmaVM *vm, int dumpFormat, bool isVmMode = true, bool is…
75 static void DestroyHeapProfiler(const EcmaVM *vm);
77 static bool BuildNativeAndJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr);
78 static bool BuildJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr);
79 static bool StartHeapTracking(const EcmaVM *vm, double timeInterval, bool isVmMode = true,
81 static bool UpdateHeapTracking(const EcmaVM *vm, Stream *stream);
82 …static bool StopHeapTracking(const EcmaVM *vm, const std::string &filePath, bool newThread = true);
83 …static bool StopHeapTracking(const EcmaVM *vm, Stream *stream, Progress *progress = nullptr, bool …
84 static void PrintStatisticResult(const EcmaVM *vm);
85 static void StartRuntimeStat(EcmaVM *vm);
86 static void StopRuntimeStat(EcmaVM *vm);
87 static size_t GetArrayBufferSize(const EcmaVM *vm);
88 static size_t GetHeapTotalSize(const EcmaVM *vm);
91 static size_t GetHeapUsedSize(const EcmaVM *vm);
92 static size_t GetHeapObjectSize(const EcmaVM *vm);
93 static size_t GetHeapLimitSize(const EcmaVM *vm);
94 static bool isOverLimit(const EcmaVM *vm);
95 static void SetOverLimit(EcmaVM *vm, bool state);
96 static void GetHeapPrepare(const EcmaVM *vm);
97 static void NotifyApplicationState(EcmaVM *vm, bool inBackground);
98 static void NotifyIdleStatusControl(const EcmaVM *vm, std::function<void(bool)> callback);
99 static void NotifyIdleTime(const EcmaVM *vm, int idleMicroSec);
100 static void NotifyMemoryPressure(EcmaVM *vm, bool inHighMemoryPressure);
101 static void NotifyFinishColdStart(EcmaVM *vm, bool isConvinced);
102 static void NotifyHighSensitive(EcmaVM *vm, bool isStart);
103 …static bool BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& jsF…
106 static bool StopCpuProfilerForColdStart(const EcmaVM *vm);
107 static bool CpuProfilerSamplingAnyTime(const EcmaVM *vm);
108 static void StartCpuProfilerForFile(const EcmaVM *vm, const std::string &fileName,
110 static void StopCpuProfilerForFile(const EcmaVM *vm);
111 static void StartCpuProfilerForInfo(const EcmaVM *vm,
113 static std::unique_ptr<ProfileInfo> StopCpuProfilerForInfo(const EcmaVM *vm);
123 static bool StartProfiler(EcmaVM *vm, const ProfilerOption &option, int tid,
125 static void SetCpuSamplingInterval(const EcmaVM *vm, int interval);
126 static bool StartSampling(const EcmaVM *vm, uint64_t samplingInterval);
127 static const SamplingInfo *GetAllocationProfile(const EcmaVM *vm);
128 static void StopSampling(const EcmaVM *vm);
130 static void ResumeVM(const EcmaVM *vm);
131 static bool SuspendVM(const EcmaVM *vm);
132 static bool IsSuspended(const EcmaVM *vm);
133 static void TerminateExecution(const EcmaVM *vm);
134 static bool CheckSafepoint(const EcmaVM *vm);
135 static void ResumeVMById(EcmaVM *vm, uint32_t tid);
136 static bool SuspendVMById(EcmaVM *vm, uint32_t tid);
139 static bool StartTracing(const EcmaVM *vm, std::string &categories);
140 static std::unique_ptr<std::vector<TraceEvent>> StopTracing(const EcmaVM *vm);
141 …static void GetTracingBufferUseage(const EcmaVM *vm, double &percentFull, uint32_t &eventCount, do…