Lines Matching refs:ts
389 # define clock_gettime(id, ts) syscall (SYS_clock_gettime, (id), (ts)) argument
489 #define EV_TS_SET(ts,t) do { ts.tv_sec = (long)t; ts.tv_nsec = (long)((t - ts.tv_sec) * 1e9); } whi… argument
1859 struct timespec ts; in ev_time() local
1860 clock_gettime (CLOCK_REALTIME, &ts); in ev_time()
1861 return ts.tv_sec + ts.tv_nsec * 1e-9; in ev_time()
1877 struct timespec ts; in get_clock() local
1878 clock_gettime (CLOCK_MONOTONIC, &ts); in get_clock()
1879 return ts.tv_sec + ts.tv_nsec * 1e-9; in get_clock()
1900 struct timespec ts; in ev_sleep() local
1902 EV_TS_SET (ts, delay); in ev_sleep()
1903 nanosleep (&ts, 0); in ev_sleep()
2836 struct timespec ts; in loop_init() local
2838 if (!clock_gettime (CLOCK_REALTIME, &ts)) in loop_init()
2846 struct timespec ts; in loop_init() local
2848 if (!clock_gettime (CLOCK_MONOTONIC, &ts)) in loop_init()