Lines Matching refs:total
63 u64 total = 0; in branch_type_stat_display() local
67 total += st->counts[i]; in branch_type_stat_display()
69 if (total == 0) in branch_type_stat_display()
79 100.0 * (double)st->cond_fwd / (double)total); in branch_type_stat_display()
85 100.0 * (double)st->cond_bwd / (double)total); in branch_type_stat_display()
91 100.0 * (double)st->cross_4k / (double)total); in branch_type_stat_display()
97 100.0 * (double)st->cross_2m / (double)total); in branch_type_stat_display()
105 (double)st->counts[i] / (double)total); in branch_type_stat_display()
117 u64 total = 0; in branch_type_str() local
120 total += st->counts[i]; in branch_type_str()
122 if (total == 0) in branch_type_str()