Lines Matching full:static
66 …static void DumpHeapSnapshot(const EcmaVM *vm, const std::string &path, const DumpSnapShotOption &…
67 …static void DumpHeapSnapshot(const EcmaVM *vm, Stream *stream, const DumpSnapShotOption &dumpOptio…
69 static void DumpCpuProfile(const EcmaVM *vm);
70 static void DumpHeapSnapshot(const EcmaVM *vm, const DumpSnapShotOption &dumpOption);
71 …static void DumpHeapSnapshot(const EcmaVM *vm, const DumpSnapShotOption &dumpOption, uint32_t tid);
72 …static void GenerateHeapSnapshotByBinFile(const EcmaVM *vm, std::string &inputFilePath, std::strin…
73 …static void DumpHeapSnapshotWithVm(const EcmaVM *vm, const DumpSnapShotOption &dumpOption, uint32_…
74 static void TriggerGC(const EcmaVM *vm, uint32_t tid);
75 static void TriggerGCWithVm(const EcmaVM *vm);
76 static void TriggerSharedGCWithVm(const EcmaVM *vm);
77 static void DestroyHeapProfiler(const EcmaVM *vm);
79 static bool BuildNativeAndJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr);
80 static bool BuildJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr);
81 static bool StartHeapTracking(const EcmaVM *vm, double timeInterval, bool isVmMode = true,
83 static bool UpdateHeapTracking(const EcmaVM *vm, Stream *stream);
84 …static bool StopHeapTracking(const EcmaVM *vm, const std::string &filePath, bool newThread = true);
85 …static bool StopHeapTracking(const EcmaVM *vm, Stream *stream, Progress *progress = nullptr, bool …
86 static void PrintStatisticResult(const EcmaVM *vm);
87 static void StartRuntimeStat(EcmaVM *vm);
88 static void StopRuntimeStat(EcmaVM *vm);
89 static size_t GetArrayBufferSize(const EcmaVM *vm);
90 static size_t GetHeapTotalSize(const EcmaVM *vm);
93 static size_t GetHeapUsedSize(const EcmaVM *vm);
94 static size_t GetHeapObjectSize(const EcmaVM *vm);
95 static size_t GetHeapLimitSize(const EcmaVM *vm);
96 static size_t GetProcessHeapLimitSize();
97 static size_t GetGCCount(const EcmaVM *vm);
98 static size_t GetGCDuration(const EcmaVM *vm);
99 static size_t GetAccumulatedAllocateSize(const EcmaVM *vm);
100 static size_t GetAccumulatedFreeSize(const EcmaVM *vm);
101 static size_t GetFullGCLongTimeCount(const EcmaVM *vm);
102 static void GetHeapPrepare(const EcmaVM *vm);
103 static void NotifyApplicationState(EcmaVM *vm, bool inBackground);
104 static void NotifyIdleStatusControl(const EcmaVM *vm, std::function<void(bool)> callback);
105 static void NotifyIdleTime(const EcmaVM *vm, int idleMicroSec);
106 static void NotifyMemoryPressure(EcmaVM *vm, bool inHighMemoryPressure);
107 static void NotifyFinishColdStart(EcmaVM *vm, bool isConvinced);
108 static void NotifyHighSensitive(EcmaVM *vm, bool isStart);
109 …static bool BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& jsF…
110 static int32_t GetObjectHash(const EcmaVM *vm, Local<JSValueRef> nativeObject);
113 static bool StopCpuProfilerForColdStart(const EcmaVM *vm);
114 static bool CpuProfilerSamplingAnyTime(const EcmaVM *vm);
115 static void CpuProfilerAnyTimeMainThread(const EcmaVM *vm);
116 static void SetJsDumpThresholds(EcmaVM *vm, size_t thresholds);
117 static void SetAppFreezeFilterCallback(const EcmaVM *vm, AppFreezeFilterCallback cb);
118 static bool StartCpuProfilerForFile(const EcmaVM *vm, const std::string &fileName,
120 static void StopCpuProfilerForFile(const EcmaVM *vm);
121 static bool StartCpuProfilerForInfo(const EcmaVM *vm,
123 static std::unique_ptr<ProfileInfo> StopCpuProfilerForInfo(const EcmaVM *vm);
124 static void EnableSeriliazationTimeoutCheck(const EcmaVM *ecmaVM, int32_t threshhold);
125 static void DisableSeriliazationTimeoutCheck(const EcmaVM *ecmaVM);
135 static bool StartProfiler(EcmaVM *vm, const ProfilerOption &option, int tid,
137 static void SetCpuSamplingInterval(const EcmaVM *vm, int interval);
138 static bool StartSampling(const EcmaVM *vm, uint64_t samplingInterval);
139 static const SamplingInfo *GetAllocationProfile(const EcmaVM *vm);
140 static void StopSampling(const EcmaVM *vm);
142 static void ResumeVM(const EcmaVM *vm);
143 static bool SuspendVM(const EcmaVM *vm);
144 static bool IsSuspended(const EcmaVM *vm);
145 static void TerminateExecution(const EcmaVM *vm);
146 static bool CheckSafepoint(const EcmaVM *vm);
147 static void ResumeVMById(EcmaVM *vm, uint32_t tid);
148 static bool SuspendVMById(EcmaVM *vm, uint32_t tid);
151 static bool StartTracing(const EcmaVM *vm, std::string &categories);
152 static std::unique_ptr<std::vector<TraceEvent>> StopTracing(const EcmaVM *vm);
153 …static void GetTracingBufferUseage(const EcmaVM *vm, double &percentFull, uint32_t &eventCount, do…
154 …static void TranslateJSStackInfo(const EcmaVM *vm, std::string &url, int32_t &line, int32_t &colum…
156 static uint32_t GetCurrentThreadId();