Lines Matching refs:total
491 double total, ratio = 0.0; in print_stalled_cycles_frontend() local
494 total = runtime_stat_avg(st, STAT_CYCLES, cpu, rsd); in print_stalled_cycles_frontend()
496 if (total) in print_stalled_cycles_frontend()
497 ratio = avg / total * 100.0; in print_stalled_cycles_frontend()
514 double total, ratio = 0.0; in print_stalled_cycles_backend() local
517 total = runtime_stat_avg(st, STAT_CYCLES, cpu, rsd); in print_stalled_cycles_backend()
519 if (total) in print_stalled_cycles_backend()
520 ratio = avg / total * 100.0; in print_stalled_cycles_backend()
533 double total, ratio = 0.0; in print_branch_misses() local
536 total = runtime_stat_avg(st, STAT_BRANCHES, cpu, rsd); in print_branch_misses()
538 if (total) in print_branch_misses()
539 ratio = avg / total * 100.0; in print_branch_misses()
552 double total, ratio = 0.0; in print_l1_dcache_misses() local
555 total = runtime_stat_avg(st, STAT_L1_DCACHE, cpu, rsd); in print_l1_dcache_misses()
557 if (total) in print_l1_dcache_misses()
558 ratio = avg / total * 100.0; in print_l1_dcache_misses()
571 double total, ratio = 0.0; in print_l1_icache_misses() local
574 total = runtime_stat_avg(st, STAT_L1_ICACHE, cpu, rsd); in print_l1_icache_misses()
576 if (total) in print_l1_icache_misses()
577 ratio = avg / total * 100.0; in print_l1_icache_misses()
589 double total, ratio = 0.0; in print_dtlb_cache_misses() local
592 total = runtime_stat_avg(st, STAT_DTLB_CACHE, cpu, rsd); in print_dtlb_cache_misses()
594 if (total) in print_dtlb_cache_misses()
595 ratio = avg / total * 100.0; in print_dtlb_cache_misses()
607 double total, ratio = 0.0; in print_itlb_cache_misses() local
610 total = runtime_stat_avg(st, STAT_ITLB_CACHE, cpu, rsd); in print_itlb_cache_misses()
612 if (total) in print_itlb_cache_misses()
613 ratio = avg / total * 100.0; in print_itlb_cache_misses()
625 double total, ratio = 0.0; in print_ll_cache_misses() local
628 total = runtime_stat_avg(st, STAT_LL_CACHE, cpu, rsd); in print_ll_cache_misses()
630 if (total) in print_ll_cache_misses()
631 ratio = avg / total * 100.0; in print_ll_cache_misses()
697 double total; in td_bad_spec() local
699 total = runtime_stat_avg(st, STAT_TOPDOWN_SLOTS_ISSUED, cpu, rsd) - in td_bad_spec()
705 bad_spec = total / total_slots; in td_bad_spec()
957 double total, ratio = 0.0, total2; in perf_stat__print_shadow_stats() local
969 total = runtime_stat_avg(st, STAT_CYCLES, cpu, &rsd); in perf_stat__print_shadow_stats()
971 if (total) { in perf_stat__print_shadow_stats()
972 ratio = avg / total; in perf_stat__print_shadow_stats()
979 total = runtime_stat_avg(st, STAT_STALLED_CYCLES_FRONT, cpu, &rsd); in perf_stat__print_shadow_stats()
981 total = max(total, runtime_stat_avg(st, in perf_stat__print_shadow_stats()
985 if (total && avg) { in perf_stat__print_shadow_stats()
987 ratio = total / avg; in perf_stat__print_shadow_stats()
1048 total = runtime_stat_avg(st, STAT_CACHEREFS, cpu, &rsd); in perf_stat__print_shadow_stats()
1050 if (total) in perf_stat__print_shadow_stats()
1051 ratio = avg * 100 / total; in perf_stat__print_shadow_stats()
1063 total = runtime_stat_avg(st, STAT_NSECS, cpu, &rsd); in perf_stat__print_shadow_stats()
1065 if (total) { in perf_stat__print_shadow_stats()
1066 ratio = avg / total; in perf_stat__print_shadow_stats()
1072 total = runtime_stat_avg(st, STAT_CYCLES, cpu, &rsd); in perf_stat__print_shadow_stats()
1074 if (total) in perf_stat__print_shadow_stats()
1077 100.0 * (avg / total)); in perf_stat__print_shadow_stats()
1082 total = runtime_stat_avg(st, STAT_CYCLES, cpu, &rsd); in perf_stat__print_shadow_stats()
1087 if (total) in perf_stat__print_shadow_stats()
1089 100.0 * ((total2-avg) / total)); in perf_stat__print_shadow_stats()
1093 total = runtime_stat_avg(st, STAT_CYCLES_IN_TX, cpu, &rsd); in perf_stat__print_shadow_stats()
1096 ratio = total / avg; in perf_stat__print_shadow_stats()
1105 total = runtime_stat_avg(st, STAT_CYCLES_IN_TX, cpu, &rsd); in perf_stat__print_shadow_stats()
1108 ratio = total / avg; in perf_stat__print_shadow_stats()
1280 total = runtime_stat_avg(st, STAT_NSECS, cpu, &rsd); in perf_stat__print_shadow_stats()
1281 if (total) in perf_stat__print_shadow_stats()
1282 ratio = convert_unit_double(1000000000.0 * avg / total, &unit); in perf_stat__print_shadow_stats()