Home
last modified time | relevance | path

Searched refs:mexp (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/tools/perf/tests/
Dparse-metric.c116 struct metric_expr *mexp; in compute_single() local
123 list_for_each_entry (mexp, &me->head, nd) { in compute_single()
124 if (strcmp(mexp->metric_name, name)) in compute_single()
126 return test_generic_metric(mexp, 0, st); in compute_single()
/Linux-v5.10/tools/perf/util/
Dstat-shadow.c906 double test_generic_metric(struct metric_expr *mexp, int cpu, struct runtime_stat *st) in test_generic_metric() argument
911 if (prepare_metric(mexp->metric_events, mexp->metric_refs, &pctx, cpu, st) < 0) in test_generic_metric()
914 if (expr__parse(&ratio, &pctx, mexp->metric_expr, 1)) in test_generic_metric()
1189 struct metric_expr *mexp; in perf_stat__print_shadow_stats() local
1191 list_for_each_entry (mexp, &me->head, nd) { in perf_stat__print_shadow_stats()
1194 generic_metric(config, mexp->metric_expr, mexp->metric_events, in perf_stat__print_shadow_stats()
1195 mexp->metric_refs, evsel->name, mexp->metric_name, in perf_stat__print_shadow_stats()
1196 mexp->metric_unit, mexp->runtime, cpu, out, st); in perf_stat__print_shadow_stats()
Dstat.h248 double test_generic_metric(struct metric_expr *mexp, int cpu, struct runtime_stat *st);