Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A Dstat-shadow.c470 struct metric_expr *mexp, in generic_metric() argument
476 const char *metric_name = mexp->metric_name; in generic_metric()
477 const char *metric_expr = mexp->metric_expr; in generic_metric()
479 const char *metric_unit = mexp->metric_unit; in generic_metric()
481 int runtime = mexp->runtime; in generic_metric()
624 struct metric_expr *mexp = from; in perf_stat__print_shadow_stats_metricgroup() local
633 if (!mexp) in perf_stat__print_shadow_stats_metricgroup()
634 mexp = list_first_entry(&me->head, typeof(*mexp), nd); in perf_stat__print_shadow_stats_metricgroup()
636 list_for_each_entry_from(mexp, &me->head, nd) { in perf_stat__print_shadow_stats_metricgroup()
640 name = mexp->default_metricgroup_name; in perf_stat__print_shadow_stats_metricgroup()
[all …]
A Dstat.h228 double test_generic_metric(struct metric_expr *mexp, int aggr_idx);
/linux/tools/perf/tests/
A Dparse-metric.c51 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); in compute_single()
A Dpmu-events.c933 struct metric_expr *mexp; in test__parsing_callback() local
935 list_for_each_entry (mexp, &me->head, nd) { in test__parsing_callback()
936 if (strcmp(mexp->metric_name, pm->metric_name)) in test__parsing_callback()
938 pr_debug("Result %f\n", test_generic_metric(mexp, 0)); in test__parsing_callback()

Completed in 12 milliseconds