Lines Matching refs:stamp
83 void __dump_stats(__u64 stamp, int all, struct d_info *dip, struct stats_t *asp) in __dump_stats() argument
88 double now = TO_SEC(stamp); in __dump_stats()
91 dt = (double)stamp / 1.0e9; in __dump_stats()
94 dt = (double)(stamp-last_start) / 1.0e9; in __dump_stats()
135 fprintf(iostat_ofp, "%8.2lf\n", TO_SEC(stamp)); in __dump_stats()
161 static void __dump_stats_t(__u64 stamp, struct stats_t *asp, int all) in __dump_stats_t() argument
182 fprintf(iostat_ofp, "%8.2lf\n", TO_SEC(stamp)); in __dump_stats_t()
192 void iostat_dump_stats(__u64 stamp, int all) in iostat_dump_stats() argument
206 __dump_stats(stamp, all, dip, &as); in iostat_dump_stats()
215 __dump_stats(stamp, all, dip, &as); in iostat_dump_stats()
222 __dump_stats_t(stamp, &as, all); in iostat_dump_stats()
228 void iostat_check_time(__u64 stamp) in iostat_check_time() argument
232 last_start = stamp; in iostat_check_time()
233 else if ((stamp - last_start) >= iostat_interval) { in iostat_check_time()
234 iostat_dump_stats(stamp, 0); in iostat_check_time()
235 last_start = stamp; in iostat_check_time()
238 iostat_last_stamp = stamp; in iostat_check_time()