Lines Matching refs:evlist
106 static void load_runtime_stat(struct runtime_stat *st, struct evlist *evlist, in load_runtime_stat() argument
113 evlist__for_each_entry(evlist, evsel) { in load_runtime_stat()
121 static double compute_single(struct rblist *metric_events, struct evlist *evlist, in compute_single() argument
128 evlist__for_each_entry(evlist, evsel) { in compute_single()
150 struct evlist *evlist; in __compute_metric() local
157 evlist = evlist__new(); in __compute_metric()
158 if (!evlist) in __compute_metric()
163 evlist__delete(evlist); in __compute_metric()
167 perf_evlist__set_maps(&evlist->core, cpus, NULL); in __compute_metric()
171 err = metricgroup__parse_groups_test(evlist, &map, name, in __compute_metric()
177 err = evlist__alloc_stats(evlist, false); in __compute_metric()
182 load_runtime_stat(&st, evlist, vals); in __compute_metric()
186 *ratio1 = compute_single(&metric_events, evlist, &st, name1); in __compute_metric()
188 *ratio2 = compute_single(&metric_events, evlist, &st, name2); in __compute_metric()
194 evlist__free_stats(evlist); in __compute_metric()
196 evlist__delete(evlist); in __compute_metric()