Lines Matching full:tid
178 // tid = 0: dump all vm; tid != 0: dump tid vm, hidumper.
180 … [[maybe_unused]] const DumpSnapShotOption &dumpOption, [[maybe_unused]] uint32_t tid) in DumpHeapSnapshot() argument
189 LOG_ECMA(INFO) << "DumpHeapSnapshot tid " << tid << " curTid " << curTid; in DumpHeapSnapshot()
190 DumpHeapSnapshotWithVm(vm, dumpOption, tid); in DumpHeapSnapshot()
195 [[maybe_unused]] uint32_t tid) in DumpHeapSnapshotWithVm() argument
217 if (tid == 0 || tid == curTid) { in DumpHeapSnapshotWithVm()
235 DumpHeapSnapshotWithVm(workerVm, dumpOption, tid); in DumpHeapSnapshotWithVm()
260 // tid = 0: TriggerGC all vm; tid != 0: TriggerGC tid vm
261 void DFXJSNApi::TriggerGC([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] uint32_t tid) in TriggerGC() argument
269 LOG_ECMA(INFO) << "TriggerGC tid " << tid << " curTid " << curTid; in TriggerGC()
270 if (tid == 0 || tid == curTid) { in TriggerGC()
276 LOG_ECMA(INFO) << "TriggerGC tid " << tid << " curTid " << curTid; in TriggerGC()
277 if (tid == 0 || tid == curTid) { in TriggerGC()
872 bool DFXJSNApi::BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& … in BuildJsStackInfoList() argument
875 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in BuildJsStackInfoList()
878 vm = const_cast<EcmaVM*>(hostVm)->GetWorkerVm(tid); in BuildJsStackInfoList()
941 bool DFXJSNApi::StartProfiler(EcmaVM *vm, const ProfilerOption &option, int tid, in StartProfiler() argument
945 << ", tid = " << tid << ", isDebugApp = " << isDebugApp; in StartProfiler()
950 … if (JSNApi::NotifyDebugMode(tid, vm, debugOption, instanceId, debuggerPostTask, isDebugApp)) { in StartProfiler()
958 … return JSNApi::NotifyDebugMode(tid, vm, debugOption, instanceId, debuggerPostTask, isDebugApp); in StartProfiler()
962 void DFXJSNApi::ResumeVMById(EcmaVM *hostVm, uint32_t tid) in ResumeVMById() argument
964 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in ResumeVMById()
967 hostVm->ResumeWorkerVm(tid); in ResumeVMById()
971 bool DFXJSNApi::SuspendVMById(EcmaVM *hostVm, uint32_t tid) in SuspendVMById() argument
974 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in SuspendVMById()
979 success = hostVm->SuspendWorkerVm(tid); in SuspendVMById()