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

/linux-master/tools/perf/pmu-events/
H A 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
[all...]
H A Dpmu-events.h58 const char *metric_expr; member in struct:pmu_metric
H A Djevents.py56 'metric_name', 'metric_group', 'metric_expr', 'metric_threshold',
347 self.metric_expr = None
349 self.metric_expr = metric.ParsePerfJson(jd['MetricExpr']).Simplify()
416 if metric and x and attr == 'metric_expr':
447 metrics.append((event.pmu, event.metric_name, event.metric_expr))
452 # print(f'Updated {event.metric_name} from\n"{event.metric_expr}"\n'
454 event.metric_expr = updates[event.metric_name]
979 if (!pm.metric_expr)
/linux-master/tools/perf/util/
H A Dmetricgroup.h20 * yielding a list of metric_expr.
26 struct list_head head; /* list of metric_expr */
30 * A metric referenced by a metric_expr. When parsing a metric expression IDs
38 const char *metric_expr; member in struct:metric_ref
42 * One in a list of metric_expr associated with an evsel. The data is used to
45 struct metric_expr { struct
48 const char *metric_expr; member in struct:metric_expr
H A Dmetricgroup.c93 struct metric_expr *expr, *tmp;
120 * metric_expr.
135 const char *metric_expr; member in struct:metric
237 m->metric_expr = pm->metric_expr;
394 const char *metric_expr; member in struct:mep
474 me->metric_expr = pm->metric_expr;
496 if (!pm->metric_expr || !pm->compat)
550 me->metric_expr,
[all...]
H A Dstat-shadow.c358 static int prepare_metric(const struct metric_expr *mexp,
463 struct metric_expr *mexp,
470 const char *metric_expr = mexp->metric_expr; local
495 if (expr__parse(&ratio, pctx, metric_expr) == 0) {
511 if (strstr(metric_expr, "?"))
541 double test_generic_metric(struct metric_expr *mexp, int aggr_idx)
553 if (expr__parse(&ratio, pctx, mexp->metric_expr))
606 * metric_expr.
617 struct metric_expr *mex
[all...]
H A Dexpr.c41 const char *metric_expr; member in struct:expr_id_data::__anon1604::__anon1606
207 data_ptr->ref.metric_expr = ref->metric_expr;
215 ref->metric_name, ref->metric_expr);
264 if (expr__parse(&data->ref.val, ctx, data->ref.metric_expr)) {
H A Dstat.h226 struct metric_expr;
227 double test_generic_metric(struct metric_expr *mexp, int aggr_idx);
/linux-master/tools/perf/tests/
H A Dparse-metric.c51 struct metric_expr *mexp;
H A Dpmu-events.c882 if (!pm->metric_expr)
934 struct metric_expr *mexp;
1050 return metric_parse_fake(pm->metric_name, pm->metric_expr);

Completed in 200 milliseconds