Lines Matching full:tid
145 // tid = 0: dump all vm; tid != 0: dump tid vm, hidumper.
147 … [[maybe_unused]] const DumpSnapShotOption &dumpOption, [[maybe_unused]] uint32_t tid) in DumpHeapSnapshot() argument
156 LOG_ECMA(INFO) << "DumpHeapSnapshot tid " << tid << " curTid " << curTid; in DumpHeapSnapshot()
157 DumpHeapSnapshotWithVm(vm, dumpOption, tid); in DumpHeapSnapshot()
162 [[maybe_unused]] uint32_t tid) in DumpHeapSnapshotWithVm() argument
184 if (tid == 0 || tid == curTid) { in DumpHeapSnapshotWithVm()
202 DumpHeapSnapshotWithVm(workerVm, dumpOption, tid); in DumpHeapSnapshotWithVm()
227 // tid = 0: TriggerGC all vm; tid != 0: TriggerGC tid vm
228 void DFXJSNApi::TriggerGC([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] uint32_t tid) in TriggerGC() argument
236 LOG_ECMA(INFO) << "TriggerGC tid " << tid << " curTid " << curTid; in TriggerGC()
237 if (tid == 0 || tid == curTid) { in TriggerGC()
243 LOG_ECMA(INFO) << "TriggerGC tid " << tid << " curTid " << curTid; in TriggerGC()
244 if (tid == 0 || tid == curTid) { in TriggerGC()
843 bool DFXJSNApi::BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& … in BuildJsStackInfoList() argument
846 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in BuildJsStackInfoList()
849 vm = const_cast<EcmaVM*>(hostVm)->GetWorkerVm(tid); in BuildJsStackInfoList()
904 bool DFXJSNApi::StartProfiler(EcmaVM *vm, const ProfilerOption &option, int tid, in StartProfiler() argument
908 << ", tid = " << tid << ", isDebugApp = " << isDebugApp; in StartProfiler()
913 … if (JSNApi::NotifyDebugMode(tid, vm, debugOption, instanceId, debuggerPostTask, isDebugApp)) { in StartProfiler()
921 … return JSNApi::NotifyDebugMode(tid, vm, debugOption, instanceId, debuggerPostTask, isDebugApp); in StartProfiler()
925 void DFXJSNApi::ResumeVMById(EcmaVM *hostVm, uint32_t tid) in ResumeVMById() argument
927 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in ResumeVMById()
930 hostVm->ResumeWorkerVm(tid); in ResumeVMById()
934 bool DFXJSNApi::SuspendVMById(EcmaVM *hostVm, uint32_t tid) in SuspendVMById() argument
937 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in SuspendVMById()
942 success = hostVm->SuspendWorkerVm(tid); in SuspendVMById()