Lines Matching refs:thread_id

143   size_t operator()(const ThreadId& thread_id) const noexcept {  in operator ()()
145 HashCombine(seed, thread_id.pid); in operator ()()
146 HashCombine(seed, thread_id.tid); in operator ()()
211 bool ReportSample(const ThreadId& thread_id, const SampleEntry& sample, size_t stack_gap_length);
213 bool PrintSampleInProtobuf(const ThreadId& thread_id, const SampleEntry& sample);
221 bool PrintSample(const ThreadId& thread_id, const SampleEntry& sample);
449 FprintIndented(report_fp_, 1, "thread_id: %d\n", sample.thread_id()); in DumpProtobufReport()
504 FprintIndented(report_fp_, 1, "thread_id: %u\n", thread.thread_id()); in DumpProtobufReport()
538 FprintIndented(report_fp_, 1, "thread_id: %u\n", context_switch.thread_id()); in DumpProtobufReport()
735 ThreadId thread_id(thread.pid, thread.tid); in ProcessSample() local
736 ThreadData& data = per_thread_data_[thread_id]; in ProcessSample()
750 if (!ReportSample(thread_id, data.stack_gap_samples.front(), gap_length)) { in ProcessSample()
755 return ReportSample(thread_id, sample, 0); in ProcessSample()
758 bool ReportSampleCommand::ReportSample(const ThreadId& thread_id, const SampleEntry& sample, in ReportSample() argument
766 return PrintSampleInProtobuf(thread_id, sample); in ReportSample()
768 return PrintSample(thread_id, sample); in ReportSample()
773 const auto& thread_id = p.first; in FinishReportSamples() local
777 if (!ReportSample(thread_id, sample_queue.front(), gap_length)) { in FinishReportSamples()
786 bool ReportSampleCommand::PrintSampleInProtobuf(const ThreadId& thread_id, in PrintSampleInProtobuf() argument
792 proto_sample->set_thread_id(thread_id.tid); in PrintSampleInProtobuf()
953 const auto& thread_id = p.first; in PrintThreadInfoInProtobuf() local
957 proto_thread->set_thread_id(thread_id.tid); in PrintThreadInfoInProtobuf()
958 proto_thread->set_process_id(thread_id.pid); in PrintThreadInfoInProtobuf()
967 bool ReportSampleCommand::PrintSample(const ThreadId& thread_id, const SampleEntry& sample) { in PrintSample() argument
972 FprintIndented(report_fp_, 1, "thread_id: %d\n", thread_id.tid); in PrintSample()
974 per_thread_data_[thread_id].thread_name.c_str()); in PrintSample()