Lines Matching refs:process
295 ProcessInfo& process = process_map[thread.process_id]; in BuildProcessInfo() local
296 process.process_id = thread.process_id; in BuildProcessInfo()
298 process.name = thread.name; in BuildProcessInfo()
300 process.total_runtime_in_ns += thread.total_runtime_in_ns; in BuildProcessInfo()
301 process.threads.push_back(&thread); in BuildProcessInfo()
314 for (auto& process : processes) { in BuildProcessInfo() local
315 std::sort(process.threads.begin(), process.threads.end(), sort_thread); in BuildProcessInfo()
322 for (auto& process : processes) { in ReportProcessInfo() local
323 total_runtime_in_ns += process.total_runtime_in_ns; in ReportProcessInfo()
334 for (auto& process : processes) { in ReportProcessInfo() local
337 entry.runtime_in_ns = process.total_runtime_in_ns; in ReportProcessInfo()
338 entry.pid = process.process_id; in ReportProcessInfo()
339 entry.name = process.name; in ReportProcessInfo()
342 entry.percentage = 100.0 * process.total_runtime_in_ns / total_runtime_in_ns; in ReportProcessInfo()
350 for (auto& thread : process.threads) { in ReportProcessInfo()
395 for (auto& process : processes) { in ReportProcessInfo() local
396 for (auto& thread : process.threads) { in ReportProcessInfo()
404 thread->spin_info.spinloop_count, process.name.c_str(), process.process_id, in ReportProcessInfo()