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