Searched refs:mexp (Results 1 – 4 of 4) sorted by relevance
| /tools/perf/util/ |
| A D | stat-shadow.c | 488 struct metric_expr *mexp, in generic_metric() argument 494 const char *metric_name = mexp->metric_name; in generic_metric() 495 const char *metric_expr = mexp->metric_expr; in generic_metric() 497 const char *metric_unit = mexp->metric_unit; in generic_metric() 499 int runtime = mexp->runtime; in generic_metric() 641 struct metric_expr *mexp = from; in perf_stat__print_shadow_stats_metricgroup() local 651 if (!mexp) in perf_stat__print_shadow_stats_metricgroup() 652 mexp = list_first_entry(&me->head, typeof(*mexp), nd); in perf_stat__print_shadow_stats_metricgroup() 654 list_for_each_entry_from(mexp, &me->head, nd) { in perf_stat__print_shadow_stats_metricgroup() 658 name = mexp->default_metricgroup_name; in perf_stat__print_shadow_stats_metricgroup() [all …]
|
| A D | stat.h | 234 double test_generic_metric(struct metric_expr *mexp, int aggr_idx);
|
| /tools/perf/tests/ |
| A D | parse-metric.c | 50 struct metric_expr *mexp; in compute_single() local 57 list_for_each_entry (mexp, &me->head, nd) { in compute_single() 58 if (strcmp(mexp->metric_name, name)) in compute_single() 60 return test_generic_metric(mexp, 0); in compute_single()
|
| A D | pmu-events.c | 903 struct metric_expr *mexp; in test__parsing_callback() local 905 list_for_each_entry (mexp, &me->head, nd) { in test__parsing_callback() 906 if (strcmp(mexp->metric_name, pm->metric_name)) in test__parsing_callback() 908 pr_debug("Result %f\n", test_generic_metric(mexp, 0)); in test__parsing_callback()
|
Completed in 10 milliseconds