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()
248 // tid = 0: TriggerGC all vm; tid != 0: TriggerGC tid vm
249 void DFXJSNApi::TriggerGC([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] uint32_t tid) in TriggerGC() argument
257 LOG_ECMA(INFO) << "TriggerGC tid " << tid << " curTid " << curTid; in TriggerGC()
258 if (tid == 0 || tid == curTid) { in TriggerGC()
264 LOG_ECMA(INFO) << "TriggerGC tid " << tid << " curTid " << curTid; in TriggerGC()
265 if (tid == 0 || tid == curTid) { in TriggerGC()
940 bool DFXJSNApi::BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& … in BuildJsStackInfoList() argument
943 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in BuildJsStackInfoList()
946 vm = const_cast<EcmaVM*>(hostVm)->GetWorkerVm(tid); in BuildJsStackInfoList()
1009 bool DFXJSNApi::StartProfiler(EcmaVM *vm, const ProfilerOption &option, int tid, in StartProfiler() argument
1013 << ", tid = " << tid << ", isDebugApp = " << isDebugApp; in StartProfiler()
1018 … if (JSNApi::NotifyDebugMode(tid, vm, debugOption, instanceId, debuggerPostTask, isDebugApp)) { in StartProfiler()
1026 … return JSNApi::NotifyDebugMode(tid, vm, debugOption, instanceId, debuggerPostTask, isDebugApp); in StartProfiler()
1030 void DFXJSNApi::ResumeVMById(EcmaVM *hostVm, uint32_t tid) in ResumeVMById() argument
1032 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in ResumeVMById()
1035 hostVm->ResumeWorkerVm(tid); in ResumeVMById()
1039 bool DFXJSNApi::SuspendVMById(EcmaVM *hostVm, uint32_t tid) in SuspendVMById() argument
1042 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in SuspendVMById()
1047 success = hostVm->SuspendWorkerVm(tid); in SuspendVMById()