Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/perf/pmu-events/
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 …]
A Dpmu-events.h32 const char *metric_expr; member
A Djevents.py292 self.metric_expr = None
294 self.metric_expr = metric.ParsePerfJson(jd['MetricExpr']).Simplify()
373 metrics.append((event.metric_name, event.metric_expr))
380 event.metric_expr = updates[event.metric_name]
/linux-6.3-rc2/tools/perf/util/
A Dmetricgroup.h37 const char *metric_expr; member
44 struct metric_expr { struct
47 const char *metric_expr; argument
A Dmetricgroup.c89 struct metric_expr *expr, *tmp; in metric_event_delete()
130 const char *metric_expr; member
220 m->metric_expr = pm->metric_expr; in metric__new()
366 const char *metric_expr; member
445 me->metric_expr = pm->metric_expr; in metricgroup__add_to_mep_groups()
520 me->metric_expr, in metricgroup__print()
948 root_metric->metric_refs[cnt].metric_expr = pm->metric_expr; in __add_metric()
1114 if (pm->metric_expr && in metricgroup__add_metric_callback()
1534 expr->metric_expr = m->metric_expr; in parse_groups()
1609 if (!pm->metric_expr) in metricgroup__has_metric_callback()
[all …]
A Dexpr.c37 const char *metric_expr; member
203 data_ptr->ref.metric_expr = ref->metric_expr; in expr__add_ref()
211 ref->metric_name, ref->metric_expr); in expr__add_ref()
260 if (expr__parse(&data->ref.val, ctx, data->ref.metric_expr)) { in expr__resolve_id()
A Dstat.h296 struct metric_expr;
297 double test_generic_metric(struct metric_expr *mexp, int map_idx, struct runtime_stat *st);
A Dstat-shadow.c779 const char *metric_expr, in generic_metric() argument
810 if (expr__parse(&ratio, pctx, metric_expr) == 0) { in generic_metric()
819 if (strstr(metric_expr, "?")) in generic_metric()
849 double test_generic_metric(struct metric_expr *mexp, int map_idx, struct runtime_stat *st) in test_generic_metric()
861 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric()
1212 struct metric_expr *mexp; in perf_stat__print_shadow_stats()
1217 generic_metric(config, mexp->metric_expr, mexp->metric_events, in perf_stat__print_shadow_stats()
/linux-6.3-rc2/tools/perf/tests/
A Dpmu-events.c832 if (!pm->metric_expr) in test__parsing_callback()
887 struct metric_expr *mexp; in test__parsing_callback()
1004 return metric_parse_fake(pm->metric_name, pm->metric_expr); in test__parsing_fake_callback()
A Dparse-metric.c51 struct metric_expr *mexp; in compute_single()

Completed in 20 milliseconds