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()
203 size = sizeof(struct datarec) * nr_cpus; in alloc_record_per_cpu()
266 struct datarec values[nr_cpus]; in map_collect_percpu()
316 static __u64 calc_pps(struct datarec *r, struct datarec *p, double period_) in calc_pps()
328 static __u64 calc_errs_pps(struct datarec *r, in calc_errs_pps()
329 struct datarec *p, double period_) in calc_errs_pps()
370 struct datarec *r = &rec->cpu[i]; in stats_print()
371 struct datarec *p = &prev->cpu[i]; in stats_print()
404 struct datarec *r = &rec->cpu[i]; in stats_print()
405 struct datarec *p = &prev->cpu[i]; in stats_print()