Lines Matching full:summary

126 timerlat_top_reset_sum(struct timerlat_top_cpu *summary)  in timerlat_top_reset_sum()  argument
128 memset(summary, 0, sizeof(*summary)); in timerlat_top_reset_sum()
129 summary->min_irq = ~0; in timerlat_top_reset_sum()
130 summary->min_thread = ~0; in timerlat_top_reset_sum()
131 summary->min_user = ~0; in timerlat_top_reset_sum()
323 * timerlat_top_print_sum - prints the summary output
326 timerlat_top_print_sum(struct osnoise_tool *top, struct timerlat_top_cpu *summary) in timerlat_top_print_sum() argument
330 unsigned long long count = summary->irq_count; in timerlat_top_print_sum()
341 if (!summary->irq_count && !summary->thread_count) in timerlat_top_print_sum()
356 if (!summary->irq_count) { in timerlat_top_print_sum()
360 trace_seq_printf(s, "%9llu ", summary->min_irq / params->output_divisor); in timerlat_top_print_sum()
361 trace_seq_printf(s, "%9llu ", (summary->sum_irq / summary->irq_count) / divisor); in timerlat_top_print_sum()
362 trace_seq_printf(s, "%9llu |", summary->max_irq / divisor); in timerlat_top_print_sum()
365 if (!summary->thread_count) { in timerlat_top_print_sum()
369 trace_seq_printf(s, "%9llu ", summary->min_thread / divisor); in timerlat_top_print_sum()
371 (summary->sum_thread / summary->thread_count) / divisor); in timerlat_top_print_sum()
372 trace_seq_printf(s, "%9llu", summary->max_thread / divisor); in timerlat_top_print_sum()
382 if (!summary->user_count) { in timerlat_top_print_sum()
386 trace_seq_printf(s, "%9llu ", summary->min_user / divisor); in timerlat_top_print_sum()
388 (summary->sum_user / summary->user_count) / divisor); in timerlat_top_print_sum()
389 trace_seq_printf(s, "%9llu\n", summary->max_user / divisor); in timerlat_top_print_sum()
409 struct timerlat_top_cpu summary; in timerlat_print_stats() local
422 timerlat_top_reset_sum(&summary); in timerlat_print_stats()
430 timerlat_top_update_sum(top, i, &summary); in timerlat_print_stats()
433 timerlat_top_print_sum(top, &summary); in timerlat_print_stats()
471 " -q/--quiet print only a summary at the end", in timerlat_top_usage()
490 fprintf(stderr, "rtla timerlat top: a per-cpu summary of the timer latency (version %s)\n", in timerlat_top_usage()