Lines Matching refs:total
381 double total, ratio = 0.0; in print_stalled_cycles_frontend() local
384 total = runtime_stat_avg(st, STAT_CYCLES, map_idx, rsd); in print_stalled_cycles_frontend()
386 if (total) in print_stalled_cycles_frontend()
387 ratio = avg / total * 100.0; in print_stalled_cycles_frontend()
404 double total, ratio = 0.0; in print_stalled_cycles_backend() local
407 total = runtime_stat_avg(st, STAT_CYCLES, map_idx, rsd); in print_stalled_cycles_backend()
409 if (total) in print_stalled_cycles_backend()
410 ratio = avg / total * 100.0; in print_stalled_cycles_backend()
423 double total, ratio = 0.0; in print_branch_misses() local
426 total = runtime_stat_avg(st, STAT_BRANCHES, map_idx, rsd); in print_branch_misses()
428 if (total) in print_branch_misses()
429 ratio = avg / total * 100.0; in print_branch_misses()
442 double total, ratio = 0.0; in print_l1_dcache_misses() local
445 total = runtime_stat_avg(st, STAT_L1_DCACHE, map_idx, rsd); in print_l1_dcache_misses()
447 if (total) in print_l1_dcache_misses()
448 ratio = avg / total * 100.0; in print_l1_dcache_misses()
461 double total, ratio = 0.0; in print_l1_icache_misses() local
464 total = runtime_stat_avg(st, STAT_L1_ICACHE, map_idx, rsd); in print_l1_icache_misses()
466 if (total) in print_l1_icache_misses()
467 ratio = avg / total * 100.0; in print_l1_icache_misses()
479 double total, ratio = 0.0; in print_dtlb_cache_misses() local
482 total = runtime_stat_avg(st, STAT_DTLB_CACHE, map_idx, rsd); in print_dtlb_cache_misses()
484 if (total) in print_dtlb_cache_misses()
485 ratio = avg / total * 100.0; in print_dtlb_cache_misses()
497 double total, ratio = 0.0; in print_itlb_cache_misses() local
500 total = runtime_stat_avg(st, STAT_ITLB_CACHE, map_idx, rsd); in print_itlb_cache_misses()
502 if (total) in print_itlb_cache_misses()
503 ratio = avg / total * 100.0; in print_itlb_cache_misses()
515 double total, ratio = 0.0; in print_ll_cache_misses() local
518 total = runtime_stat_avg(st, STAT_LL_CACHE, map_idx, rsd); in print_ll_cache_misses()
520 if (total) in print_ll_cache_misses()
521 ratio = avg / total * 100.0; in print_ll_cache_misses()
587 double total; in td_bad_spec() local
589 total = runtime_stat_avg(st, STAT_TOPDOWN_SLOTS_ISSUED, map_idx, rsd) - in td_bad_spec()
595 bad_spec = total / total_slots; in td_bad_spec()
878 double total, ratio = 0.0, total2; in perf_stat__print_shadow_stats() local
890 total = runtime_stat_avg(st, STAT_CYCLES, map_idx, &rsd); in perf_stat__print_shadow_stats()
892 if (total) { in perf_stat__print_shadow_stats()
893 ratio = avg / total; in perf_stat__print_shadow_stats()
900 total = runtime_stat_avg(st, STAT_STALLED_CYCLES_FRONT, map_idx, &rsd); in perf_stat__print_shadow_stats()
902 total = max(total, runtime_stat_avg(st, in perf_stat__print_shadow_stats()
906 if (total && avg) { in perf_stat__print_shadow_stats()
908 ratio = total / avg; in perf_stat__print_shadow_stats()
969 total = runtime_stat_avg(st, STAT_CACHEREFS, map_idx, &rsd); in perf_stat__print_shadow_stats()
971 if (total) in perf_stat__print_shadow_stats()
972 ratio = avg * 100 / total; in perf_stat__print_shadow_stats()
984 total = runtime_stat_avg(st, STAT_NSECS, map_idx, &rsd); in perf_stat__print_shadow_stats()
986 if (total) { in perf_stat__print_shadow_stats()
987 ratio = avg / total; in perf_stat__print_shadow_stats()
993 total = runtime_stat_avg(st, STAT_CYCLES, map_idx, &rsd); in perf_stat__print_shadow_stats()
995 if (total) in perf_stat__print_shadow_stats()
998 100.0 * (avg / total)); in perf_stat__print_shadow_stats()
1003 total = runtime_stat_avg(st, STAT_CYCLES, map_idx, &rsd); in perf_stat__print_shadow_stats()
1008 if (total) in perf_stat__print_shadow_stats()
1010 100.0 * ((total2-avg) / total)); in perf_stat__print_shadow_stats()
1014 total = runtime_stat_avg(st, STAT_CYCLES_IN_TX, map_idx, &rsd); in perf_stat__print_shadow_stats()
1017 ratio = total / avg; in perf_stat__print_shadow_stats()
1026 total = runtime_stat_avg(st, STAT_CYCLES_IN_TX, map_idx, &rsd); in perf_stat__print_shadow_stats()
1029 ratio = total / avg; in perf_stat__print_shadow_stats()
1198 total = runtime_stat_avg(st, STAT_NSECS, map_idx, &rsd); in perf_stat__print_shadow_stats()
1199 if (total) in perf_stat__print_shadow_stats()
1200 ratio = convert_unit_double(1000000000.0 * avg / total, &unit); in perf_stat__print_shadow_stats()