Lines Matching refs:counts
150 struct perf_counts *counts; in perf_evsel__alloc_prev_raw_counts() local
152 counts = perf_counts__new(ncpus, nthreads); in perf_evsel__alloc_prev_raw_counts()
153 if (counts) in perf_evsel__alloc_prev_raw_counts()
154 evsel->prev_raw_counts = counts; in perf_evsel__alloc_prev_raw_counts()
156 return counts ? 0 : -ENOMEM; in perf_evsel__alloc_prev_raw_counts()
285 struct perf_counts_values *aggr = &evsel->counts->aggr; in process_counter_values()
345 perf_counts(counter->counts, cpu, thread))) in process_counter_maps()
356 struct perf_counts_values *aggr = &counter->counts->aggr; in perf_stat_process_counter()
358 u64 *count = counter->counts->aggr.values; in perf_stat_process_counter()
387 perf_counts_values__scale(aggr, config->scale, &counter->counts->scaled); in perf_stat_process_counter()
422 *perf_counts(counter->counts, st->cpu, st->thread) = count; in perf_event__process_stat_event()