Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
A Dparse-metric.c124 struct metric_expr *mexp; in compute_single() local
131 list_for_each_entry (mexp, &me->head, nd) { in compute_single()
132 if (strcmp(mexp->metric_name, name)) in compute_single()
134 return test_generic_metric(mexp, 0, st); in compute_single()
/linux/tools/perf/util/
A Dstat-shadow.c937 double test_generic_metric(struct metric_expr *mexp, int cpu, struct runtime_stat *st) in test_generic_metric() argument
946 if (prepare_metric(mexp->metric_events, mexp->metric_refs, pctx, cpu, st) < 0) in test_generic_metric()
949 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric()
1303 struct metric_expr *mexp; in perf_stat__print_shadow_stats() local
1305 list_for_each_entry (mexp, &me->head, nd) { in perf_stat__print_shadow_stats()
1308 generic_metric(config, mexp->metric_expr, mexp->metric_events, in perf_stat__print_shadow_stats()
1309 mexp->metric_refs, evsel->name, mexp->metric_name, in perf_stat__print_shadow_stats()
1310 mexp->metric_unit, mexp->runtime, cpu, out, st); in perf_stat__print_shadow_stats()
A Dstat.h257 double test_generic_metric(struct metric_expr *mexp, int cpu, struct runtime_stat *st);

Completed in 9 milliseconds