Searched refs:perf_counts (Results 1 – 10 of 10) sorted by relevance
/tools/perf/util/ |
D | counts.h | 17 struct perf_counts { struct 25 perf_counts(struct perf_counts *counts, int cpu, int thread) in perf_counts() argument 30 struct perf_counts *perf_counts__new(int ncpus, int nthreads); 31 void perf_counts__delete(struct perf_counts *counts);
|
D | counts.c | 5 struct perf_counts *perf_counts__new(int ncpus, int nthreads) in perf_counts__new() 7 struct perf_counts *counts = zalloc(sizeof(*counts)); in perf_counts__new() 24 void perf_counts__delete(struct perf_counts *counts) in perf_counts__delete() 32 static void perf_counts__reset(struct perf_counts *counts) in perf_counts__reset()
|
D | stat.c | 133 struct perf_counts *counts; in perf_evsel__alloc_prev_raw_counts() 301 perf_counts(counter->counts, cpu, thread))) in process_counter_maps() 379 *perf_counts(counter->counts, st->cpu, st->thread) = count; in perf_event__process_stat_event()
|
D | evsel.h | 93 struct perf_counts *counts; 94 struct perf_counts *prev_raw_counts;
|
D | evsel.c | 1187 tmp = *perf_counts(evsel->prev_raw_counts, cpu, thread); in perf_evsel__compute_deltas() 1188 *perf_counts(evsel->prev_raw_counts, cpu, thread) = *count; in perf_evsel__compute_deltas() 1247 *perf_counts(evsel->counts, cpu, thread) = count; in __perf_evsel__read_on_cpu()
|
/tools/perf/tests/ |
D | openat-syscall.c | 46 if (perf_counts(evsel->counts, 0, 0)->val != nr_openat_calls) { in test__openat_syscall_event() 48 nr_openat_calls, perf_counts(evsel->counts, 0, 0)->val); in test__openat_syscall_event()
|
D | openat-syscall-all-cpus.c | 103 if (perf_counts(evsel->counts, cpu, 0)->val != expected) { in test__openat_syscall_event_on_all_cpus() 105 expected, cpus->map[cpu], perf_counts(evsel->counts, cpu, 0)->val); in test__openat_syscall_event_on_all_cpus()
|
/tools/perf/ |
D | builtin-stat.c | 313 count = perf_counts(counter->counts, cpu, thread); in read_counter() 316 perf_counts(counter->counts, cpu, thread)->ena = 0; in read_counter() 317 perf_counts(counter->counts, cpu, thread)->run = 0; in read_counter() 1182 val += perf_counts(counter->counts, cpu, 0)->val; in aggr_update_shadow() 1222 val += perf_counts(counter->counts, cpu, 0)->val; in print_aggr() 1223 ena += perf_counts(counter->counts, cpu, 0)->ena; in print_aggr() 1224 run += perf_counts(counter->counts, cpu, 0)->run; in print_aggr() 1256 val += perf_counts(counter->counts, cpu, thread)->val; in print_aggr_thread() 1257 ena += perf_counts(counter->counts, cpu, thread)->ena; in print_aggr_thread() 1258 run += perf_counts(counter->counts, cpu, thread)->run; in print_aggr_thread() [all …]
|
D | builtin-script.c | 940 counts = perf_counts(counter->counts, cpu, thread); in __process_stat()
|
/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 952 perf_counts(counter->counts, cpu, thread)); in python_process_stat()
|