Lines Matching refs:datarec
192 struct datarec { struct
198 struct datarec total; argument
199 struct datarec *cpu;
206 static struct datarec *alloc_record_per_cpu(void) in alloc_record_per_cpu()
209 struct datarec *array; in alloc_record_per_cpu()
211 array = calloc(nr_cpus, sizeof(struct datarec)); in alloc_record_per_cpu()
268 struct datarec values[nr_cpus]; in map_collect_percpu()
318 static __u64 calc_pps(struct datarec *r, struct datarec *p, double period_) in calc_pps()
330 static __u64 calc_errs_pps(struct datarec *r, in calc_errs_pps()
331 struct datarec *p, double period_) in calc_errs_pps()
372 struct datarec *r = &rec->cpu[i]; in stats_print()
373 struct datarec *p = &prev->cpu[i]; in stats_print()
406 struct datarec *r = &rec->cpu[i]; in stats_print()
407 struct datarec *p = &prev->cpu[i]; in stats_print()