Lines Matching defs:thread
81 for (auto &thread : process.second.threads_) {
82 thread.second.callNode.UpdateChildrenEventCount();
83 thread.second.callNodeReverse.UpdateChildrenEventCount();
125 auto &thread = GetOrCreateMapItem(process.threads_, tid);
126 thread.eventCount_ += eventCount;
127 thread.sampleCount_++;
224 auto &thread = GetOrCreateMapItem(process.threads_, tid);
235 ReportLibItem &lib = thread.libs_[libId];
272 AddReportCallStackReverse(eventCount, thread.callNode, frames);
273 AddReportCallStack(eventCount, thread.callNodeReverse, frames);
300 const VirtualThread &thread = pair.second;
301 if (thread.pid_ == thread.tid_) {
302 jsonProcesses.emplace(std::to_string(thread.pid_), thread.name_);
304 // process also is a thread.
305 jsonThreads.emplace(std::to_string(thread.tid_), thread.name_);