Lines Matching refs:timing_stats
43 static struct timing_stats { struct
54 timing_stats.start_time = jiffies; in start_timing() argument
59 timing_stats.read_time += (jiffies - start_time); in end_read_timing()
60 timing_stats.read_bytes += length + 2; in end_read_timing()
66 timing_stats.write_time += (jiffies - start_time); in end_write_timing()
67 timing_stats.write_bytes += length + 2; in end_write_timing()
73 unsigned long since = jiffies - timing_stats.last_report_time; in report_timing()
77 int first = (timing_stats.last_report_time == 0); in report_timing()
79 timing_stats.last_report_time = jiffies; in report_timing()
84 timing_stats.read_bytes, in report_timing()
85 jiffies_to_usecs(timing_stats.read_time), in report_timing()
86 timing_stats.write_bytes, in report_timing()
87 jiffies_to_usecs(timing_stats.write_time)); in report_timing()
89 timing_stats.read_time = 0; in report_timing()
90 timing_stats.write_time = 0; in report_timing()
91 timing_stats.read_bytes = 0; in report_timing()
92 timing_stats.write_bytes = 0; in report_timing()