Searched refs:ts (Results 1 – 4 of 4) sorted by relevance
| /libev/ |
| H A D | ev.c | 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 1861 return ts.tv_sec + ts.tv_nsec * 1e-9; in ev_time() 1877 struct timespec ts; in get_clock() local 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 [all …]
|
| H A D | ev_port.c | 96 struct timespec ts; in port_poll() local 105 EV_TS_SET (ts, timeout); in port_poll() 106 res = port_getn (backend_fd, port_events, port_eventmax, &nget, &ts); in port_poll()
|
| H A D | ev_kqueue.c | 89 struct timespec ts; in kqueue_poll() local 100 EV_TS_SET (ts, timeout); in kqueue_poll() 101 res = kevent (backend_fd, kqueue_changes, kqueue_changecnt, kqueue_events, kqueue_eventmax, &ts); in kqueue_poll()
|
| H A D | libev.m4 | 17 … [struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts)])],
|