Lines Matching defs:stats
36 static float TimeToTgidPercent(uint64_t ns, int time, const TaskStatistics& stats) {
37 float percent = ns / stats.threads() / (time * NSEC_PER_SEC / 100.0f);
169 std::vector<TaskStatistics> stats;
175 stats.clear();
187 // If printing processes, collect stats for the tgid which will
196 // Collect per-thread stats
208 stats.push_back(pid_stats_delta);
213 stats.push_back(tgid_stats_delta);
218 sorter(stats);
245 for (const TaskStatistics& statistics : stats) {