Home
last modified time | relevance | path

Searched refs:tid_ (Results 1 - 16 of 16) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
H A Dsampling_processor.h45 pthread_t tid_; member
49 :generator_(generator), interval_(interval), tid_(tid), taskHandle_(taskHandle) {}; in RunParams()
H A Dcpu_profiler.cpp82 // when the ffrt is enabled for the thread, the tid_ will be task id in StartCpuProfilerForInfo()
83 tid_ = static_cast<pthread_t>(JSThread::GetCurrentThreadId()); in StartCpuProfilerForInfo()
95 profilerMap_[tid_] = taskInfo; in StartCpuProfilerForInfo()
109 if (pthread_create(&tid_, nullptr, SamplingProcessor::Run, params_) != 0) { in StartCpuProfilerForInfo()
140 // when the ffrt is enabled for the thread, the tid_ will be task id in StartCpuProfilerForFile()
141 tid_ = static_cast<pthread_t>(JSThread::GetCurrentThreadId()); in StartCpuProfilerForFile()
153 profilerMap_[tid_] = taskInfo; in StartCpuProfilerForFile()
167 if (pthread_create(&tid_, nullptr, SamplingProcessor::Run, params_) != 0) { in StartCpuProfilerForFile()
H A Dcpu_profiler.h135 pthread_t tid_ = 0; member in panda::ecmascript::CpuProfiler
H A Dsampling_processor.cpp38 pthread_t jsThreadId = params.tid_; in Run()
/arkcompiler/ets_runtime/ecmascript/dfx/tracing/
H A Dtracing.cpp53 tid_ = static_cast<pthread_t>(syscall(SYS_gettid)); in StartTracing()
103 TraceEvent event("disabled-by-default-devtools.timeline", "TracingStartedInBrowser", "I", getpid(), tid_); in TraceEventRecordTracingStart()
119 TraceEvent event("disabled-by-default-devtools.timeline", "UpdateCounters", "I", getpid(), tid_); in TraceEventRecordMemory()
133 TraceEvent event("disabled-by-default-v8.cpu_profiler", "Profile", "P", getpid(), tid_); in TraceEventRecordCpuProfilerStart()
150 TraceEvent event("disabled-by-default-v8.cpu_profiler", "ProfileChunk", "P", getpid(), tid_); in TraceEventRecordCpuProfiler()
256 TraceEvent event("disabled-by-default-v8.cpu_profiler", "ProfileChunk", "P", getpid(), tid_); in TraceEventRecordCpuProfilerEnd()
H A Dtracing.h33 : cat_(cat), name_(name), ph_(ph), pid_(pid), tid_(tid) in TraceEvent()
84 [[maybe_unused]] int64_t tid_ {0};
135 pthread_t tid_ {0};
/arkcompiler/toolchain/inspector/
H A Dconnect_server.cpp41 tid_ = pthread_self(); in RunServer()
84 pthread_join(tid_, nullptr); in StopServer()
H A Dinspector.cpp163 newInspector->tid_ = pthread_self(); in InitializeInspector()
175 newInspector->websocketServer_->tid_ = tid; in InitializeInspector()
276 debuggerPostTask_([tid = tid_, vm = vm_] { in OnMessage()
421 uint32_t tid = static_cast<uint32_t>(reinterpret_cast<uintptr_t>(g_inspectors[vm]->tid_)); in StopDebug()
423 uint32_t tid = g_inspectors[vm]->tid_; in StopDebug()
H A Dconnect_server.h44 pthread_t tid_ {0};
H A Dws_server.h48 pthread_t tid_ {0};
H A Dinspector.h66 pthread_t tid_ = 0; member in panda::OHOS::ArkCompiler::Toolchain::Inspector
H A Dws_server.cpp119 pthread_join(tid_, nullptr); in StopServer()
/arkcompiler/runtime_core/static_core/runtime/
H A Dthread_pool.h55 tid_.store(tid, std::memory_order_release); in SetTid()
60 return tid_ != -1; in IsStarted()
66 return tid_.load(std::memory_order_acquire); in GetTid()
70 std::atomic_int tid_ {-1};
/arkcompiler/toolchain/tooling/base/
H A Dpt_events.cpp371 event->Add("tid", traceEvent.tid_); in TraceEventToJson()
H A Dpt_types.h2158 return tid_; in GetTid()
2163 tid_ = tid; in SetTid()
2341 int64_t tid_ {0};
H A Dpt_types.cpp2616 profile->tid_ = tid; in Create()
2786 result->Add("tid", tid_); in ToJson()

Completed in 16 milliseconds