Lines Matching full:ps
82 struct perf_stat_evsel *ps = evsel->stats;
83 struct perf_stat_aggr *aggr = ps->aggr;
86 memset(aggr, 0, sizeof(*aggr) * ps->nr_aggr);
91 struct perf_stat_evsel *ps = evsel->stats;
93 init_stats(&ps->res_stats);
99 struct perf_stat_evsel *ps = evsel->stats;
101 if (ps == NULL)
104 ps->nr_aggr = nr_aggr;
105 ps->aggr = calloc(nr_aggr, sizeof(*ps->aggr));
106 if (ps->aggr == NULL)
125 struct perf_stat_evsel *ps;
127 ps = zalloc(sizeof(*ps));
128 if (ps == NULL)
131 evsel->stats = ps;
135 free(ps);
145 struct perf_stat_evsel *ps = evsel->stats;
147 if (ps) {
148 zfree(&ps->aggr);
149 zfree(&ps->group_data);
271 struct perf_stat_evsel *ps = evsel->stats;
277 *ps->aggr[0].counts.values = avg_stats(&ps->res_stats);
392 struct perf_stat_evsel *ps = evsel->stats;
409 struct perf_counts_values *aggr_counts = &ps->aggr[thread].counts;
418 ps->aggr[thread].nr++;
426 if (ps->aggr) {
432 for (i = 0; i < ps->nr_aggr; i++) {
436 ps_aggr = &ps->aggr[i];
484 struct perf_stat_evsel *ps = counter->stats;
500 * so we can use ps->aggr[0] as the actual output.
502 count = ps->aggr[0].counts.values;
503 update_stats(&ps->res_stats, *count);
581 struct perf_stat_evsel *ps = evsel->stats;
589 struct perf_stat_aggr *aggr = &ps->aggr[idx];
602 struct perf_stat_aggr *aggr = &ps->aggr[idx];
619 struct perf_stat_evsel *ps = evsel->stats;
628 struct perf_stat_aggr *aggr = &ps->aggr[idx];