Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/pmu-events/
Dempty-pmu-events.c117 .metric_expr = "1 / IPC",
121 .metric_expr = "inst_retired.any / cpu_clk_unhalted.thread",
126 .metric_expr = "idq_uops_not_delivered.core / (4 * (( ( cpu_clk_unhalted.thread / 2 ) * "
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)",
144 .metric_expr = "l2_rqsts.demand_data_rd_hit + l2_rqsts.pf_hit + l2_rqsts.rfo_hit",
148 .metric_expr = "max(l2_rqsts.all_demand_data_rd - l2_rqsts.demand_data_rd_hit, 0) + "
153 .metric_expr = "DCache_L2_All_Hits + DCache_L2_All_Miss",
157 .metric_expr = "d_ratio(DCache_L2_All_Hits, DCache_L2_All)",
[all …]
Dpmu-events.h58 const char *metric_expr; member
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]
/linux-6.6.21/tools/perf/util/
Dmetricgroup.h38 const char *metric_expr; member
45 struct metric_expr { struct
48 const char *metric_expr; argument
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()
496 if (!pm->metric_expr || !pm->compat) in metricgroup__sys_event_iter()
550 me->metric_expr, in metricgroup__print()
989 root_metric->metric_refs[cnt].metric_expr = pm->metric_expr; in __add_metric()
993 root_metric->metric_refs[cnt+1].metric_expr = NULL; in __add_metric()
1001 expr = pm->metric_expr; in __add_metric()
[all …]
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()
Dstat-shadow.c444 const char *metric_expr, in generic_metric() argument
476 if (expr__parse(&ratio, pctx, metric_expr) == 0) { in generic_metric()
492 if (strstr(metric_expr, "?")) in generic_metric()
522 double test_generic_metric(struct metric_expr *mexp, int aggr_idx) in test_generic_metric()
534 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric()
598 struct metric_expr *mexp = from; in perf_stat__print_shadow_stats_metricgroup()
633 generic_metric(config, mexp->metric_expr, mexp->metric_threshold, in perf_stat__print_shadow_stats_metricgroup()
Dstat.h226 struct metric_expr;
227 double test_generic_metric(struct metric_expr *mexp, int aggr_idx);
/linux-6.6.21/tools/perf/tests/
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()
Dparse-metric.c51 struct metric_expr *mexp; in compute_single()