Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 6 of 6) sorted by relevance

/libuv/test/
H A Dtest-hrtime.c35 uint64_t a, b, diff; in TEST_IMPL() local
42 diff = b - a; in TEST_IMPL()
48 ASSERT_UINT64_GT(diff, (uint64_t) 25 * NANOSEC / MILLISEC); in TEST_IMPL()
H A Dbenchmark-pump.c89 int64_t diff; in show_stats() local
103 diff = uv_now(loop) - start_time; in show_stats()
108 gbit(nsent_total, diff)); in show_stats()
128 int64_t diff; in read_show_stats() local
131 diff = uv_now(loop) - start_time; in read_show_stats()
136 gbit(nrecv_total, diff)); in read_show_stats()
/libuv/src/
H A Dtimer.c147 uint64_t diff; in uv__next_timeout() local
157 diff = handle->timeout - loop->time; in uv__next_timeout()
158 if (diff > INT_MAX) in uv__next_timeout()
159 diff = INT_MAX; in uv__next_timeout()
161 return (int) diff; in uv__next_timeout()
/libuv/src/unix/
H A Dkqueue.c178 uint64_t diff; in uv__io_poll() local
465 diff = loop->time - base; in uv__io_poll()
466 if (diff >= (uint64_t) timeout) in uv__io_poll()
469 timeout -= diff; in uv__io_poll()
H A Dsunos.c156 uint64_t diff; in uv__io_poll() local
364 diff = loop->time - base; in uv__io_poll()
365 if (diff >= (uint64_t) timeout) in uv__io_poll()
368 timeout -= diff; in uv__io_poll()
H A Daix.c142 uint64_t diff; in uv__io_poll() local
369 diff = loop->time - base; in uv__io_poll()
370 if (diff >= (uint64_t) timeout) in uv__io_poll()
373 timeout -= diff; in uv__io_poll()

Completed in 26 milliseconds