Lines Matching refs:datarec
183 struct datarec { struct
189 struct datarec total; argument
190 struct datarec *cpu;
197 static struct datarec *alloc_record_per_cpu(void) in alloc_record_per_cpu()
200 struct datarec *array; in alloc_record_per_cpu()
202 array = calloc(nr_cpus, sizeof(struct datarec)); in alloc_record_per_cpu()
259 struct datarec values[nr_cpus]; in map_collect_percpu()
309 static __u64 calc_pps(struct datarec *r, struct datarec *p, double period_) in calc_pps()
321 static __u64 calc_errs_pps(struct datarec *r, in calc_errs_pps()
322 struct datarec *p, double period_) in calc_errs_pps()
363 struct datarec *r = &rec->cpu[i]; in stats_print()
364 struct datarec *p = &prev->cpu[i]; in stats_print()
397 struct datarec *r = &rec->cpu[i]; in stats_print()
398 struct datarec *p = &prev->cpu[i]; in stats_print()