Lines Matching full:ratio
203 double ratio = numerator / denominator * 100.0; in print_ratio() local
204 const char *color = get_ratio_color(color_ratios, ratio); in print_ratio()
206 out->print_metric(config, out->ctx, color, "%7.2f%%", unit, ratio); in print_ratio()
342 double ratio = cycles / nsecs; in print_cycles() local
344 out->print_metric(config, out->ctx, NULL, "%8.3f", "GHz", ratio); in print_cycles()
483 double ratio, scale, threshold; in generic_metric() local
502 if (expr__parse(&ratio, pctx, metric_expr) == 0) { in generic_metric()
516 ratio *= scale; in generic_metric()
526 metric_bf, ratio); in generic_metric()
532 ratio); in generic_metric()
551 double ratio = 0.0; in test_generic_metric() local
560 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric()
561 ratio = 0.0; in test_generic_metric()
565 return ratio; in test_generic_metric()
706 double ratio = convert_unit_double(1000000000.0 * avg / nsecs, in perf_stat__print_shadow_stats() local
711 print_metric(config, ctxp, NULL, "%8.3f", unit_buf, ratio); in perf_stat__print_shadow_stats()