H A D | stat.c | 1 // SPDX-License-Identifier: GPL-2.0 24 stats->n++; in update_stats() 25 delta = val - stats->mean; in update_stats() 26 stats->mean += delta / stats->n; in update_stats() 27 stats->M2 += delta*(val - stat in update_stats() 189 evlist__alloc_stats(struct perf_stat_config * config,struct evlist * evlist,bool alloc_raw) evlist__alloc_stats() argument 278 evlist__copy_res_stats(struct perf_stat_config * config,struct evlist * evlist) evlist__copy_res_stats() argument 305 check_per_pkg(struct evsel * counter,struct perf_counts_values * vals,int cpu_map_idx,bool * skip) check_per_pkg() argument 368 evsel__count_has_error(struct evsel * evsel,struct perf_counts_values * count,struct perf_stat_config * config) evsel__count_has_error() argument 386 process_counter_values(struct perf_stat_config * config,struct evsel * evsel,int cpu_map_idx,int thread,struct perf_counts_values * count) process_counter_values() argument 392 bool skip = false; process_counter_values() local 461 process_counter_maps(struct perf_stat_config * config,struct evsel * counter) process_counter_maps() argument 479 perf_stat_process_counter(struct perf_stat_config * config,struct evsel * counter) perf_stat_process_counter() argument 575 evsel__should_merge_hybrid(const struct evsel * evsel,const struct perf_stat_config * config) evsel__should_merge_hybrid() argument 580 evsel__merge_stats(struct evsel * evsel,struct perf_stat_config * config) evsel__merge_stats() argument 591 perf_stat_merge_counters(struct perf_stat_config * config,struct evlist * evlist) perf_stat_merge_counters() argument 662 perf_stat_process_percore(struct perf_stat_config * config,struct evlist * evlist) perf_stat_process_percore() argument 746 create_perf_stat_counter(struct evsel * evsel,struct perf_stat_config * config,struct target * target,int cpu_map_idx) create_perf_stat_counter() argument [all...] |