Lines Matching refs:timing_stats
44 static struct timing_stats { struct
55 timing_stats.start_time = jiffies; in start_timing() argument
60 timing_stats.read_time += (jiffies - start_time); in end_read_timing()
61 timing_stats.read_bytes += length + 2; in end_read_timing()
67 timing_stats.write_time += (jiffies - start_time); in end_write_timing()
68 timing_stats.write_bytes += length + 2; in end_write_timing()
74 unsigned long since = jiffies - timing_stats.last_report_time; in report_timing()
78 int first = (timing_stats.last_report_time == 0); in report_timing()
80 timing_stats.last_report_time = jiffies; in report_timing()
85 timing_stats.read_bytes, in report_timing()
86 jiffies_to_usecs(timing_stats.read_time), in report_timing()
87 timing_stats.write_bytes, in report_timing()
88 jiffies_to_usecs(timing_stats.write_time)); in report_timing()
90 timing_stats.read_time = 0; in report_timing()
91 timing_stats.write_time = 0; in report_timing()
92 timing_stats.read_bytes = 0; in report_timing()
93 timing_stats.write_bytes = 0; in report_timing()