Lines Matching refs:percent
777 double percent; in annotation_line__print() local
779 percent = annotation_data__percent(&al->data[i], in annotation_line__print()
782 if (percent > max_percent) in annotation_line__print()
783 max_percent = percent; in annotation_line__print()
809 double percent; in annotation_line__print() local
811 percent = annotation_data__percent(data, percent_type); in annotation_line__print()
812 color = get_percent_color(percent); in annotation_line__print()
821 color_fprintf(stdout, color, " %7.2f", percent); in annotation_line__print()
883 data->percent[PERCENT_HITS_LOCAL] = 100.0 * hits / sym_hist->nr_samples; in calc_percent()
887 data->percent[PERCENT_HITS_GLOBAL] = 100.0 * hits / hists->stats.nr_non_filtered_samples; in calc_percent()
890 data->percent[PERCENT_PERIOD_LOCAL] = 100.0 * period / sym_hist->period; in calc_percent()
893 data->percent[PERCENT_PERIOD_GLOBAL] = 100.0 * period / hists->stats.total_period; in calc_percent()
1118 double percent, percent_max = 0.0; in print_summary() local
1125 percent = al->data[i].percent_sum; in print_summary()
1126 color = get_percent_color(percent); in print_summary()
1127 color_fprintf(stdout, color, " %7.2f", percent); in print_summary()
1129 if (percent > percent_max) in print_summary()
1130 percent_max = percent; in print_summary()
1271 double percent __maybe_unused, in FILE__set_percent_color()
1574 double percent; in annotation__calc_lines() local
1576 percent = annotation_data__percent(&al->data[i], in annotation__calc_lines()
1579 if (percent > percent_max) in annotation__calc_lines()
1580 percent_max = percent; in annotation__calc_lines()
1682 double percent; in annotation_line__max_percent() local
1684 percent = annotation_data__percent(&al->data[i], in annotation_line__max_percent()
1687 if (percent > percent_max) in annotation_line__max_percent()
1688 percent_max = percent; in annotation_line__max_percent()
1890 void (*obj__set_percent_color)(void *obj, double percent, bool current), in __annotation_line__write() argument
1915 double percent; in __annotation_line__write() local
1917 percent = annotation_data__percent(&al->data[i], percent_type); in __annotation_line__write()
1919 obj__set_percent_color(obj, percent, current_entry); in __annotation_line__write()
1926 obj__printf(obj, "%7.2f ", percent); in __annotation_line__write()