/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
H A D | sampling_processor.h | 45 pthread_t tid_;
member 49 :generator_(generator), interval_(interval), tid_(tid), taskHandle_(taskHandle) {};
in RunParams()
|
H A D | cpu_profiler.cpp | 82 // 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 D | cpu_profiler.h | 135 pthread_t tid_ = 0;
member in panda::ecmascript::CpuProfiler
|
H A D | sampling_processor.cpp | 38 pthread_t jsThreadId = params.tid_; in Run()
|
/arkcompiler/ets_runtime/ecmascript/dfx/tracing/ |
H A D | tracing.cpp | 53 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 D | tracing.h | 33 : 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 D | connect_server.cpp | 41 tid_ = pthread_self(); in RunServer() 84 pthread_join(tid_, nullptr); in StopServer()
|
H A D | inspector.cpp | 163 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 D | connect_server.h | 44 pthread_t tid_ {0};
|
H A D | ws_server.h | 48 pthread_t tid_ {0};
|
H A D | inspector.h | 66 pthread_t tid_ = 0; member in panda::OHOS::ArkCompiler::Toolchain::Inspector
|
H A D | ws_server.cpp | 119 pthread_join(tid_, nullptr); in StopServer()
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | thread_pool.h | 55 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 D | pt_events.cpp | 371 event->Add("tid", traceEvent.tid_); in TraceEventToJson()
|
H A D | pt_types.h | 2158 return tid_; in GetTid() 2163 tid_ = tid; in SetTid() 2341 int64_t tid_ {0};
|
H A D | pt_types.cpp | 2616 profile->tid_ = tid; in Create() 2786 result->Add("tid", tid_); in ToJson()
|