Lines Matching full:ratio
199 double ratio = 0; in print_ratio() local
205 ratio = numerator / denominator * 100.0; in print_ratio()
206 thresh = get_ratio_thresh(thresh_ratios, ratio); in print_ratio()
210 out->print_metric(config, out->ctx, thresh, fmt, unit, ratio); in print_ratio()
346 double ratio = cycles / nsecs; in print_cycles() local
349 "GHz", ratio); in print_cycles()
501 double ratio, scale, threshold; in generic_metric() local
520 if (expr__parse(&ratio, pctx, metric_expr) == 0) { in generic_metric()
534 ratio *= scale; in generic_metric()
544 metric_bf, ratio); in generic_metric()
550 ratio); in generic_metric()
569 double ratio = 0.0; in test_generic_metric() local
578 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric()
579 ratio = 0.0; in test_generic_metric()
583 return ratio; in test_generic_metric()
724 double ratio = convert_unit_double(1000000000.0 * avg / nsecs, in perf_stat__print_shadow_stats() local
730 unit_buf, ratio); in perf_stat__print_shadow_stats()