Home
last modified time | relevance | path

Searched refs:source_count (Results 1 – 8 of 8) sorted by relevance

/linux/tools/perf/util/
H A Dstat-shadow.c55 int source_count = 0, tool_aggr_idx; in prepare_metric()
78 source_count = 1; in prepare_metric()
91 source_count = 0; in prepare_metric()
98 source_count = 0; in prepare_metric()
105 if (!source_count) in prepare_metric()
106 source_count = evsel__source_count(metric_events[i]); in prepare_metric()
113 expr__add_id_val_source_count(pctx, n, val, source_count); in prepare_metric()
56 int source_count = 0, tool_aggr_idx; prepare_metric() local
H A Dexpr.c29 int source_count; member
150 return expr__add_id_val_source_count(ctx, id, val, /*source_count=*/1); in expr__add_id_val()
155 double val, int source_count) in expr__add_id_val_source_count() argument
165 data_ptr->val.source_count = source_count; in expr__add_id_val_source_count()
173 data_ptr->val.source_count += old_data->val.source_count; in expr__add_id_val_source_count()
394 return data->val.source_count; in expr_id_data__source_count()
H A Dexpr.h39 double val, int source_count);
H A Dexpr.y91 bool compute_ids, bool source_count)
104 result.val = source_count
H A Dexpr.l123 source_count { return SOURCE_COUNT; }
H A Dpython.c1345 int ret, source_count = 0; in prepare_metric() local
1368 source_count = 1; in prepare_metric()
1373 if (source_count == 0) in prepare_metric()
1374 source_count = evsel__source_count(cur); in prepare_metric()
1392 ret = expr__add_id_val_source_count(pctx, n, val, source_count); in prepare_metric()
/linux/tools/perf/pmu-events/
H A Dintel_metrics.py10 from metric import (d_ratio, has_event, max, source_count, CheckPmu, Event,
677 ticks_per_cha = ticks / source_count(data_rd_loc_ins)
680 ticks_per_cha = ticks / source_count(data_rd_rem_ins)
H A Dmetric.py574 def source_count(event: Event) -> Function: function