Lines Matching refs:ts
31 unsigned long ts = usec; in usec_sleep() local
38 ts = usec - ns_granularity; in usec_sleep()
40 if (ts >= 1000000) { in usec_sleep()
41 req.tv_sec = ts / 1000000; in usec_sleep()
42 ts -= 1000000 * req.tv_sec; in usec_sleep()
46 req.tv_nsec = ts * 1000; in usec_sleep()
52 ts = utime_since_now(&tv); in usec_sleep()
53 t += ts; in usec_sleep()
54 if (ts >= usec) in usec_sleep()
57 usec -= ts; in usec_sleep()
112 struct timespec ts; in fio_time_init() local
116 ts.tv_sec = 0; in fio_time_init()
117 ts.tv_nsec = 1000; in fio_time_init()
119 nanosleep(&ts, NULL); in fio_time_init()