Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 19 of 19) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
Dlogger_test.cpp64 uint32_t tid = os::thread::GetCurrentThreadId(); variable
71 tid, tid, tid);
148 uint32_t tid = os::thread::GetCurrentThreadId(); variable
149 std::string res = helpers::string::Format("[TID %06x] E/compiler: c\n", tid);
167 uint32_t tid = os::thread::GetCurrentThreadId(); variable
171 tid, tid);
190 uint32_t tid = os::thread::GetCurrentThreadId(); variable
191 std::string res = helpers::string::Format("[TID %06x] E/common: c\n", tid);
235 uint32_t tid = os::thread::GetCurrentThreadId(); variable
239 tid, tid);
[all …]
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedsethitbreakpoints_fuzzer/
Dbaseptspausedsethitbreakpoints_fuzzer.cpp34 int tid = 2; in BasePtsPausedSetHitBreakpointsFuzzTest() local
36 std::vector<BreakpointId> breakpointid_(tid); in BasePtsPausedSetHitBreakpointsFuzzTest()
37 for (int i = 0; i < tid; i++) { in BasePtsPausedSetHitBreakpointsFuzzTest()
/arkcompiler/runtime_core/libpandabase/os/
Dthread.h123 native_handle_type tid;
125 pthread_t tid;
136 pthread_create(&tid, nullptr,
140 return tid;
142 return reinterpret_cast<native_handle_type>(tid);
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dsampling_processor.cpp42 pthread_t tid = pthread_self(); in Run() local
43 pthread_setname_np(tid, "SamplingThread"); in Run()
77 pthread_setname_np(tid, "GC_WorkerThread"); in Run()
Dcpu_profiler.cpp241 + std::to_string(currentProcessInfo.tid) + ",\"ts\":" in SetProfileStart()
248 + std::to_string(currentProcessInfo.tid) + ",\"ts\":" in SetProfileStart()
385 pthread_t tid = static_cast<pthread_t>(syscall(SYS_gettid)); in GetStackSignalHandler() local
386 const EcmaVM *vm = profilerMap_[tid]; in GetStackSignalHandler()
Dcpu_profiler.h37 pthread_t tid = 0; member
Dsamples_record.cpp32 int tid = syscall(SYS_gettid); in SamplesRecord() local
33 if (tid != -1) { in SamplesRecord()
34 profileInfo_->tid = static_cast<uint64_t>(tid); in SamplesRecord()
151 + std::to_string(profileInfo_->tid) + ",\"startTime\":" in StringifySampleData()
Dsamples_record.h58 uint64_t tid = 0; member
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.cpp626 auto tid = thread->GetThreadId(); in WorkersetInfo() local
627 if (tid != 0) { in WorkersetInfo()
628 workerList_.emplace(tid, workerVm); in WorkersetInfo()
633 EcmaVM *EcmaVM::GetWorkerVm(uint32_t tid) in GetWorkerVm() argument
638 auto iter = workerList_.find(tid); in GetWorkerVm()
651 auto tid = thread->GetThreadId(); in DeleteWorker() local
652 if (tid == 0) { in DeleteWorker()
655 auto iter = workerList_.find(tid); in DeleteWorker()
665 bool EcmaVM::SuspendWorkerVm(uint32_t tid) in SuspendWorkerVm() argument
669 auto iter = workerList_.find(tid); in SuspendWorkerVm()
[all …]
Decma_vm.h280 EcmaVM *GetWorkerVm(uint32_t tid);
284 bool SuspendWorkerVm(uint32_t tid);
286 void ResumeWorkerVm(uint32_t tid);
/arkcompiler/toolchain/inspector/
Dinspector.cpp159 pthread_t tid; in InitializeInspector() local
160 if (pthread_create(&tid, nullptr, &HandleClient, static_cast<void *>( in InitializeInspector()
165 newInspector->websocketServer_->tid_ = tid; in InitializeInspector()
248 debuggerPostTask_([tid = tid_, vm = vm_] { in OnMessage()
249 if (tid != pthread_self()) { in OnMessage()
Dconnect_inspector.cpp107 pthread_t tid; in StartServer() local
108 if (pthread_create(&tid, nullptr, &HandleDebugManager, in StartServer()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Ddfx_jsnapi.h78 …static bool BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& jsF…
108 static void ResumeVMById(EcmaVM *vm, uint32_t tid);
109 static bool SuspendVMById(EcmaVM *vm, uint32_t tid);
/arkcompiler/ets_runtime/ecmascript/napi/
Ddfx_jsnapi.cpp503 bool DFXJSNApi::BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& … in BuildJsStackInfoList() argument
506 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in BuildJsStackInfoList()
509 vm = const_cast<EcmaVM*>(hostVm)->GetWorkerVm(tid); in BuildJsStackInfoList()
576 void DFXJSNApi::ResumeVMById(EcmaVM *hostVm, uint32_t tid) in ResumeVMById() argument
578 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in ResumeVMById()
581 hostVm->ResumeWorkerVm(tid); in ResumeVMById()
585 bool DFXJSNApi::SuspendVMById(EcmaVM *hostVm, uint32_t tid) in SuspendVMById() argument
587 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in SuspendVMById()
590 return hostVm->SuspendWorkerVm(tid); in SuspendVMById()
/arkcompiler/runtime_core/compiler/tests/
Daot_test.cpp173 uint32_t tid = os::thread::GetCurrentThreadId(); in TEST_F() local
174 std::string tmpfile = helpers::string::Format("/tmp/tmpfile_%04x.pn", tid); in TEST_F()
517 uint32_t tid = os::thread::GetCurrentThreadId(); in TEST_F() local
518 std::string tmpfile = helpers::string::Format("test.an", tid); in TEST_F()
/arkcompiler/toolchain/tooling/base/
Dpt_types.cpp2500 int64_t tid; in Create() local
2501 ret = params.GetInt64("tid", &tid); in Create()
2503 profile->tid_ = tid; in Create()
2631 profile->SetTid(static_cast<int64_t>(profileInfo.tid)); in FromProfileInfo()
Dpt_types.h2100 Profile &SetTid(int64_t tid) in SetTid() argument
2102 tid_ = tid; in SetTid()
/arkcompiler/toolchain/tooling/test/
Ddebugger_types_test.cpp2167 …"tid":1000, "startTime":10, "endTime":25, "gcTime":25, "cInterpreterTime":25, "asmInterpreterTime"… in HWTEST_F_L0()
2201 …"tid":1000, "startTime":10, "endTime":25, "gcTime":25, "cInterpreterTime":25, "asmInterpreterTime"… in HWTEST_F_L0()
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …ypes"===r||(e.performance.mark("beginTracing"),n.writeSync(l,',\n{"pid":1,"tid":1,"ph":"'+t+'","ca… property