Lines Matching refs:thread
57 for (auto &thread : process.second.threads_) { in UpdateCallNodeEventCount() local
58 thread.second.callNode.UpdateChildrenEventCount(); in UpdateCallNodeEventCount()
59 thread.second.callNodeReverse.UpdateChildrenEventCount(); in UpdateCallNodeEventCount()
98 auto &thread = GetOrCreateMapItem(process.threads_, tid); in UpdateReportSample() local
99 thread.eventCount_ += eventCount; in UpdateReportSample()
100 thread.sampleCount_++; in UpdateReportSample()
199 auto &thread = GetOrCreateMapItem(process.threads_, tid); in UpdateReportCallStack() local
208 ReportLibItem &lib = thread.libs_[libId]; in UpdateReportCallStack()
242 AddReportCallStackReverse(eventCount, thread.callNode, frames); in UpdateReportCallStack()
243 AddReportCallStack(eventCount, thread.callNodeReverse, frames); in UpdateReportCallStack()
270 const VirtualThread &thread = pair.second; in OutputJsonRuntimeInfo() local
271 if (thread.pid_ == thread.tid_) { in OutputJsonRuntimeInfo()
272 jsonProcesses.emplace(std::to_string(thread.pid_), thread.name_); in OutputJsonRuntimeInfo()
275 jsonThreads.emplace(std::to_string(thread.tid_), thread.name_); in OutputJsonRuntimeInfo()