Searched refs:prev_raw_counts (Results 1 – 3 of 3) sorted by relevance
146 evsel->prev_raw_counts = counts; in perf_evsel__alloc_prev_raw_counts()153 perf_counts__delete(evsel->prev_raw_counts); in perf_evsel__free_prev_raw_counts()154 evsel->prev_raw_counts = NULL; in perf_evsel__free_prev_raw_counts()159 if (evsel->prev_raw_counts) { in perf_evsel__reset_prev_raw_counts()160 evsel->prev_raw_counts->aggr.val = 0; in perf_evsel__reset_prev_raw_counts()161 evsel->prev_raw_counts->aggr.ena = 0; in perf_evsel__reset_prev_raw_counts()162 evsel->prev_raw_counts->aggr.run = 0; in perf_evsel__reset_prev_raw_counts()
98 struct perf_counts *prev_raw_counts; member
1262 if (!evsel->prev_raw_counts) in perf_evsel__compute_deltas()1266 tmp = evsel->prev_raw_counts->aggr; in perf_evsel__compute_deltas()1267 evsel->prev_raw_counts->aggr = *count; in perf_evsel__compute_deltas()1269 tmp = *perf_counts(evsel->prev_raw_counts, cpu, thread); in perf_evsel__compute_deltas()1270 *perf_counts(evsel->prev_raw_counts, cpu, thread) = *count; in perf_evsel__compute_deltas()