Lines Matching refs:tv_usec
63 if(e->ev_timeout.tv_usec < f->ev_timeout.tv_usec) in mini_ev_cmp()
65 if(e->ev_timeout.tv_usec > f->ev_timeout.tv_usec) in mini_ev_cmp()
155 p->ev_timeout.tv_usec > now->tv_usec)) { in handle_timeouts()
158 if(now->tv_usec > p->ev_timeout.tv_usec) { in handle_timeouts()
160 wait->tv_usec = 1000000 - (now->tv_usec - in handle_timeouts()
161 p->ev_timeout.tv_usec); in handle_timeouts()
163 wait->tv_usec = p->ev_timeout.tv_usec in handle_timeouts()
164 - now->tv_usec; in handle_timeouts()
315 ev->ev_timeout.tv_usec = tv->tv_usec + now->tv_usec; in event_add()
316 while(ev->ev_timeout.tv_usec >= 1000000) { in event_add()
317 ev->ev_timeout.tv_usec -= 1000000; in event_add()