Home
last modified time | relevance | path

Searched refs:metric_expr (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/tools/perf/pmu-events/
H A Dempty-pmu-events.c117 .metric_expr = "1 / IPC",
121 .metric_expr = "inst_retired.any / cpu_clk_unhalted.thread",
131 .metric_expr = "l1d\\-loads\\-misses / inst_retired.any",
135 .metric_expr = "l1i\\-loads\\-misses / inst_retired.any",
139 .metric_expr = "(dcache_miss_cpi + icache_miss_cycles)",
153 .metric_expr = "DCache_L2_All_Hits + DCache_L2_All_Miss",
157 .metric_expr = "d_ratio(DCache_L2_All_Hits, DCache_L2_All)",
165 .metric_expr = "ipc + M2",
169 .metric_expr = "ipc + M1",
173 .metric_expr = "1/M3",
[all …]
H A Dpmu-events.h58 const char *metric_expr; member
H A Djevents.py327 self.metric_expr = None
329 self.metric_expr = metric.ParsePerfJson(jd['MetricExpr']).Simplify()
415 metrics.append((event.pmu, event.metric_name, event.metric_expr))
422 event.metric_expr = updates[event.metric_name]
/openbmc/linux/tools/perf/util/
H A Dmetricgroup.h38 const char *metric_expr; member
45 struct metric_expr { struct
48 const char *metric_expr; member
H A Dmetricgroup.c91 struct metric_expr *expr, *tmp; in metric_event_delete()
133 const char *metric_expr; member
235 m->metric_expr = pm->metric_expr; in metric__new()
394 const char *metric_expr; member
474 me->metric_expr = pm->metric_expr; in metricgroup__add_to_mep_groups()
550 me->metric_expr, in metricgroup__print()
989 root_metric->metric_refs[cnt].metric_expr = pm->metric_expr; in __add_metric()
1001 expr = pm->metric_expr; in __add_metric()
1581 struct metric_expr *expr; in parse_groups()
1644 expr->metric_expr = m->metric_expr; in parse_groups()
[all …]
H A Dstat-shadow.c446 const char *metric_expr, in generic_metric() argument
478 if (expr__parse(&ratio, pctx, metric_expr) == 0) { in generic_metric()
494 if (strstr(metric_expr, "?")) in generic_metric()
524 double test_generic_metric(struct metric_expr *mexp, int aggr_idx) in test_generic_metric()
536 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric()
600 struct metric_expr *mexp = from; in perf_stat__print_shadow_stats_metricgroup()
635 generic_metric(config, mexp->metric_expr, mexp->metric_threshold, in perf_stat__print_shadow_stats_metricgroup()
H A Dexpr.c41 const char *metric_expr; member
207 data_ptr->ref.metric_expr = ref->metric_expr; in expr__add_ref()
215 ref->metric_name, ref->metric_expr); in expr__add_ref()
264 if (expr__parse(&data->ref.val, ctx, data->ref.metric_expr)) { in expr__resolve_id()
H A Dstat.h226 struct metric_expr;
227 double test_generic_metric(struct metric_expr *mexp, int aggr_idx);
/openbmc/linux/tools/perf/tests/
H A Dpmu-events.c821 if (!pm->metric_expr) in test__parsing_callback()
873 struct metric_expr *mexp; in test__parsing_callback()
989 return metric_parse_fake(pm->metric_name, pm->metric_expr); in test__parsing_fake_callback()
H A Dparse-metric.c51 struct metric_expr *mexp; in compute_single()