Home
last modified time | relevance | path

Searched refs:uv_now (Results 1 – 15 of 15) sorted by relevance

/libuv/test/
H A Dtest-timer-again.c51 (long int)(uv_now(uv_default_loop()) - start_time)); in repeat_1_cb()
74 (long int)(uv_now(uv_default_loop()) - start_time)); in repeat_2_cb()
98 start_time = uv_now(uv_default_loop()); in TEST_IMPL()
136 (long int)(uv_now(uv_default_loop()) - start_time)); in TEST_IMPL()
H A Dtest-loop-time.c29 start = uv_now(uv_default_loop()); in TEST_IMPL()
30 while (uv_now(uv_default_loop()) - start < 1000) in TEST_IMPL()
H A Dbenchmark-getaddrinfo.c72 start_time = uv_now(loop); in BENCHMARK_IMPL()
81 end_time = uv_now(loop); in BENCHMARK_IMPL()
H A Dbenchmark-pump.c103 diff = uv_now(loop) - start_time; in show_stats()
131 diff = uv_now(loop) - start_time; in read_show_stats()
149 if (uv_now(loop) - start_time > 1000 && read_sockets == 0) { in read_sockets_close_cb()
167 start_time = uv_now(loop); in start_stats_collection()
175 start_time = uv_now(loop); in read_cb()
H A Dbenchmark-spawn.c148 start_time = uv_now(loop); in BENCHMARK_IMPL()
156 end_time = uv_now(loop); in BENCHMARK_IMPL()
H A Dbenchmark-ping-udp.c106 if (uv_now(loop) - start_time > TIME) { in pinger_read_cb()
145 start_time = uv_now(loop); in ping_udp()
H A Dbenchmark-ping-pongs.c151 if (uv_now(loop) - start_time > TIME) { in pinger_read_cb()
212 start_time = uv_now(loop); in BENCHMARK_IMPL()
H A Dtest-timer.c122 start_time = uv_now(uv_default_loop()); in TEST_IMPL()
157 ASSERT_LE(500, uv_now(uv_default_loop()) - start_time); in TEST_IMPL()
389 timer_early_check_expected_time = uv_now(uv_default_loop()) + timeout_ms; in TEST_IMPL()
H A Dbenchmark-pound.c171 if (uv_now(loop) - start < 10000) { in close_cb()
285 start = uv_now(loop); in pound_it()
/libuv/src/
H A Dfs-poll.c88 ctx->start_time = uv_now(loop); in uv_fs_poll_start()
181 ctx->start_time = uv_now(ctx->loop); in timer_cb()
230 interval -= (uv_now(ctx->loop) - ctx->start_time) % interval; in poll_cb()
H A Duv-common.c638 uint64_t uv_now(const uv_loop_t* loop) { in uv_now() function
/libuv/docs/src/
H A Dtimer.rst88 :c:func:`uv_now()`.
H A Dloop.rst172 .. c:function:: uint64_t uv_now(const uv_loop_t* loop)
/libuv/include/
H A Duv.h319 UV_EXTERN uint64_t uv_now(const uv_loop_t*);
/libuv/
H A DChangeLog5114 * unix, windows: uv_now constness (Rasmus Pedersen)
6024 * include: document uv_update_time() and uv_now() (Ben Noordhuis)
6032 * unix, windows: move uv_now() to uv-common.c (Ben Noordhuis)
6076 * include: document uv_update_time() and uv_now() (Ben Noordhuis)
6084 * unix, windows: move uv_now() to uv-common.c (Ben Noordhuis)

Completed in 35 milliseconds