Lines Matching refs:out
140 static void print_stalled_cycles_frontend(FILE *out, int cpu, in print_stalled_cycles_frontend() argument
155 fprintf(out, " # "); in print_stalled_cycles_frontend()
156 color_fprintf(out, color, "%6.2f%%", ratio); in print_stalled_cycles_frontend()
157 fprintf(out, " frontend cycles idle "); in print_stalled_cycles_frontend()
160 static void print_stalled_cycles_backend(FILE *out, int cpu, in print_stalled_cycles_backend() argument
175 fprintf(out, " # "); in print_stalled_cycles_backend()
176 color_fprintf(out, color, "%6.2f%%", ratio); in print_stalled_cycles_backend()
177 fprintf(out, " backend cycles idle "); in print_stalled_cycles_backend()
180 static void print_branch_misses(FILE *out, int cpu, in print_branch_misses() argument
195 fprintf(out, " # "); in print_branch_misses()
196 color_fprintf(out, color, "%6.2f%%", ratio); in print_branch_misses()
197 fprintf(out, " of all branches "); in print_branch_misses()
200 static void print_l1_dcache_misses(FILE *out, int cpu, in print_l1_dcache_misses() argument
215 fprintf(out, " # "); in print_l1_dcache_misses()
216 color_fprintf(out, color, "%6.2f%%", ratio); in print_l1_dcache_misses()
217 fprintf(out, " of all L1-dcache hits "); in print_l1_dcache_misses()
220 static void print_l1_icache_misses(FILE *out, int cpu, in print_l1_icache_misses() argument
235 fprintf(out, " # "); in print_l1_icache_misses()
236 color_fprintf(out, color, "%6.2f%%", ratio); in print_l1_icache_misses()
237 fprintf(out, " of all L1-icache hits "); in print_l1_icache_misses()
240 static void print_dtlb_cache_misses(FILE *out, int cpu, in print_dtlb_cache_misses() argument
255 fprintf(out, " # "); in print_dtlb_cache_misses()
256 color_fprintf(out, color, "%6.2f%%", ratio); in print_dtlb_cache_misses()
257 fprintf(out, " of all dTLB cache hits "); in print_dtlb_cache_misses()
260 static void print_itlb_cache_misses(FILE *out, int cpu, in print_itlb_cache_misses() argument
275 fprintf(out, " # "); in print_itlb_cache_misses()
276 color_fprintf(out, color, "%6.2f%%", ratio); in print_itlb_cache_misses()
277 fprintf(out, " of all iTLB cache hits "); in print_itlb_cache_misses()
280 static void print_ll_cache_misses(FILE *out, int cpu, in print_ll_cache_misses() argument
295 fprintf(out, " # "); in print_ll_cache_misses()
296 color_fprintf(out, color, "%6.2f%%", ratio); in print_ll_cache_misses()
297 fprintf(out, " of all LL-cache hits "); in print_ll_cache_misses()
300 void perf_stat__print_shadow_stats(FILE *out, struct perf_evsel *evsel, in perf_stat__print_shadow_stats() argument
310 fprintf(out, " # %5.2f insns per cycle ", ratio); in perf_stat__print_shadow_stats()
312 fprintf(out, " "); in perf_stat__print_shadow_stats()
319 fprintf(out, "\n"); in perf_stat__print_shadow_stats()
321 fprintf(out, " "); in perf_stat__print_shadow_stats()
322 …fprintf(out, " # %5.2f stalled cycles per insn… in perf_stat__print_shadow_stats()
327 print_branch_misses(out, cpu, evsel, avg); in perf_stat__print_shadow_stats()
334 print_l1_dcache_misses(out, cpu, evsel, avg); in perf_stat__print_shadow_stats()
341 print_l1_icache_misses(out, cpu, evsel, avg); in perf_stat__print_shadow_stats()
348 print_dtlb_cache_misses(out, cpu, evsel, avg); in perf_stat__print_shadow_stats()
355 print_itlb_cache_misses(out, cpu, evsel, avg); in perf_stat__print_shadow_stats()
362 print_ll_cache_misses(out, cpu, evsel, avg); in perf_stat__print_shadow_stats()
370 fprintf(out, " # %8.3f %% of all cache refs ", ratio); in perf_stat__print_shadow_stats()
373 print_stalled_cycles_frontend(out, cpu, evsel, avg); in perf_stat__print_shadow_stats()
375 print_stalled_cycles_backend(out, cpu, evsel, avg); in perf_stat__print_shadow_stats()
381 fprintf(out, " # %8.3f GHz ", ratio); in perf_stat__print_shadow_stats()
383 fprintf(out, " "); in perf_stat__print_shadow_stats()
388 fprintf(out, in perf_stat__print_shadow_stats()
397 fprintf(out, in perf_stat__print_shadow_stats()
407 fprintf(out, " # %8.0f cycles / transaction ", ratio); in perf_stat__print_shadow_stats()
415 fprintf(out, " # %8.0f cycles / elision ", ratio); in perf_stat__print_shadow_stats()
418 fprintf(out, " # %8.3f CPUs utilized ", avg / ratio); in perf_stat__print_shadow_stats()
420 fprintf(out, " "); in perf_stat__print_shadow_stats()
433 fprintf(out, " # %8.3f %c/sec ", ratio, unit); in perf_stat__print_shadow_stats()
435 fprintf(out, " "); in perf_stat__print_shadow_stats()