Searched refs:mexp (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/tools/perf/tests/ |
D | parse-metric.c | 51 struct metric_expr *mexp; in compute_single() local 58 list_for_each_entry (mexp, &me->head, nd) { in compute_single() 59 if (strcmp(mexp->metric_name, name)) in compute_single() 61 return test_generic_metric(mexp, 0, st); in compute_single()
|
D | pmu-events.c | 911 struct metric_expr *mexp; in test__parsing_callback() local 913 list_for_each_entry (mexp, &me->head, nd) { in test__parsing_callback() 914 if (strcmp(mexp->metric_name, pe->metric_name)) in test__parsing_callback() 916 pr_debug("Result %f\n", test_generic_metric(mexp, 0, &st)); in test__parsing_callback()
|
/linux-6.1.9/tools/perf/util/ |
D | stat-shadow.c | 956 double test_generic_metric(struct metric_expr *mexp, int map_idx, struct runtime_stat *st) in test_generic_metric() argument 965 if (prepare_metric(mexp->metric_events, mexp->metric_refs, pctx, map_idx, st) < 0) in test_generic_metric() 968 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric() 1323 struct metric_expr *mexp; in perf_stat__print_shadow_stats() local 1325 list_for_each_entry (mexp, &me->head, nd) { in perf_stat__print_shadow_stats() 1328 generic_metric(config, mexp->metric_expr, mexp->metric_events, in perf_stat__print_shadow_stats() 1329 mexp->metric_refs, evsel->name, mexp->metric_name, in perf_stat__print_shadow_stats() 1330 mexp->metric_unit, mexp->runtime, in perf_stat__print_shadow_stats()
|
D | stat.h | 279 double test_generic_metric(struct metric_expr *mexp, int map_idx, struct runtime_stat *st);
|