Lines Matching refs:total

498 	double total, ratio = 0.0;  in print_stalled_cycles_frontend()  local
501 total = runtime_stat_avg(st, STAT_CYCLES, cpu, rsd); in print_stalled_cycles_frontend()
503 if (total) in print_stalled_cycles_frontend()
504 ratio = avg / total * 100.0; in print_stalled_cycles_frontend()
521 double total, ratio = 0.0; in print_stalled_cycles_backend() local
524 total = runtime_stat_avg(st, STAT_CYCLES, cpu, rsd); in print_stalled_cycles_backend()
526 if (total) in print_stalled_cycles_backend()
527 ratio = avg / total * 100.0; in print_stalled_cycles_backend()
540 double total, ratio = 0.0; in print_branch_misses() local
543 total = runtime_stat_avg(st, STAT_BRANCHES, cpu, rsd); in print_branch_misses()
545 if (total) in print_branch_misses()
546 ratio = avg / total * 100.0; in print_branch_misses()
559 double total, ratio = 0.0; in print_l1_dcache_misses() local
562 total = runtime_stat_avg(st, STAT_L1_DCACHE, cpu, rsd); in print_l1_dcache_misses()
564 if (total) in print_l1_dcache_misses()
565 ratio = avg / total * 100.0; in print_l1_dcache_misses()
578 double total, ratio = 0.0; in print_l1_icache_misses() local
581 total = runtime_stat_avg(st, STAT_L1_ICACHE, cpu, rsd); in print_l1_icache_misses()
583 if (total) in print_l1_icache_misses()
584 ratio = avg / total * 100.0; in print_l1_icache_misses()
596 double total, ratio = 0.0; in print_dtlb_cache_misses() local
599 total = runtime_stat_avg(st, STAT_DTLB_CACHE, cpu, rsd); in print_dtlb_cache_misses()
601 if (total) in print_dtlb_cache_misses()
602 ratio = avg / total * 100.0; in print_dtlb_cache_misses()
614 double total, ratio = 0.0; in print_itlb_cache_misses() local
617 total = runtime_stat_avg(st, STAT_ITLB_CACHE, cpu, rsd); in print_itlb_cache_misses()
619 if (total) in print_itlb_cache_misses()
620 ratio = avg / total * 100.0; in print_itlb_cache_misses()
632 double total, ratio = 0.0; in print_ll_cache_misses() local
635 total = runtime_stat_avg(st, STAT_LL_CACHE, cpu, rsd); in print_ll_cache_misses()
637 if (total) in print_ll_cache_misses()
638 ratio = avg / total * 100.0; in print_ll_cache_misses()
704 double total; in td_bad_spec() local
706 total = runtime_stat_avg(st, STAT_TOPDOWN_SLOTS_ISSUED, cpu, rsd) - in td_bad_spec()
712 bad_spec = total / total_slots; in td_bad_spec()
966 double total, ratio = 0.0, total2; in perf_stat__print_shadow_stats() local
978 total = runtime_stat_avg(st, STAT_CYCLES, cpu, &rsd); in perf_stat__print_shadow_stats()
980 if (total) { in perf_stat__print_shadow_stats()
981 ratio = avg / total; in perf_stat__print_shadow_stats()
988 total = runtime_stat_avg(st, STAT_STALLED_CYCLES_FRONT, cpu, &rsd); in perf_stat__print_shadow_stats()
990 total = max(total, runtime_stat_avg(st, in perf_stat__print_shadow_stats()
994 if (total && avg) { in perf_stat__print_shadow_stats()
996 ratio = total / avg; in perf_stat__print_shadow_stats()
1057 total = runtime_stat_avg(st, STAT_CACHEREFS, cpu, &rsd); in perf_stat__print_shadow_stats()
1059 if (total) in perf_stat__print_shadow_stats()
1060 ratio = avg * 100 / total; in perf_stat__print_shadow_stats()
1072 total = runtime_stat_avg(st, STAT_NSECS, cpu, &rsd); in perf_stat__print_shadow_stats()
1074 if (total) { in perf_stat__print_shadow_stats()
1075 ratio = avg / total; in perf_stat__print_shadow_stats()
1081 total = runtime_stat_avg(st, STAT_CYCLES, cpu, &rsd); in perf_stat__print_shadow_stats()
1083 if (total) in perf_stat__print_shadow_stats()
1086 100.0 * (avg / total)); in perf_stat__print_shadow_stats()
1091 total = runtime_stat_avg(st, STAT_CYCLES, cpu, &rsd); in perf_stat__print_shadow_stats()
1096 if (total) in perf_stat__print_shadow_stats()
1098 100.0 * ((total2-avg) / total)); in perf_stat__print_shadow_stats()
1102 total = runtime_stat_avg(st, STAT_CYCLES_IN_TX, cpu, &rsd); in perf_stat__print_shadow_stats()
1105 ratio = total / avg; in perf_stat__print_shadow_stats()
1114 total = runtime_stat_avg(st, STAT_CYCLES_IN_TX, cpu, &rsd); in perf_stat__print_shadow_stats()
1117 ratio = total / avg; in perf_stat__print_shadow_stats()
1289 total = runtime_stat_avg(st, STAT_NSECS, cpu, &rsd); in perf_stat__print_shadow_stats()
1290 if (total) in perf_stat__print_shadow_stats()
1291 ratio = convert_unit_double(1000000000.0 * avg / total, &unit); in perf_stat__print_shadow_stats()