Home
last modified time | relevance | path

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

/third_party/libuv/test/
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()
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()
Dbenchmark-getaddrinfo.c72 start_time = uv_now(loop); in BENCHMARK_IMPL()
81 end_time = uv_now(loop); in BENCHMARK_IMPL()
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()
Dbenchmark-spawn.c148 start_time = uv_now(loop); in BENCHMARK_IMPL()
156 end_time = uv_now(loop); in BENCHMARK_IMPL()
Dbenchmark-ping-udp.c106 if (uv_now(loop) - start_time > TIME) { in pinger_read_cb()
145 start_time = uv_now(loop); in ping_udp()
Dtest-timer.c97 start_time = uv_now(uv_default_loop()); in TEST_IMPL()
132 ASSERT(500 <= uv_now(uv_default_loop()) - start_time); in TEST_IMPL()
336 timer_early_check_expected_time = uv_now(uv_default_loop()) + timeout_ms; in TEST_IMPL()
Dbenchmark-ping-pongs.c151 if (uv_now(loop) - start_time > TIME) { in pinger_read_cb()
212 start_time = uv_now(loop); in BENCHMARK_IMPL()
Dbenchmark-pound.c171 if (uv_now(loop) - start < 10000) { in close_cb()
285 start = uv_now(loop); in pound_it()
/third_party/libuv/src/
Dfs-poll.c88 ctx->start_time = uv_now(loop); in uv_fs_poll_start()
178 ctx->start_time = uv_now(ctx->loop); in timer_cb()
227 interval -= (uv_now(ctx->loop) - ctx->start_time) % interval; in poll_cb()
Duv-common.c581 uint64_t uv_now(const uv_loop_t* loop) { in uv_now() function
/third_party/libuv/docs/src/
Dtimer.rst84 :c:func:`uv_now()`.
Dloop.rst154 .. c:function:: uint64_t uv_now(const uv_loop_t* loop)
/third_party/node/src/
Dnode_report_utils.cc191 uint64_t now = uv_now(handle->timer.loop); in WalkHandle()
Denv.cc342 timer_base_(uv_now(isolate_data->event_loop())), in Environment()
872 llabs(expiry_ms) - (uv_now(env->event_loop()) - env->timer_base()); in RunTimers()
926 uint64_t now = uv_now(event_loop()); in GetNow()
/third_party/libuv/include/
Duv.h308 UV_EXTERN uint64_t uv_now(const uv_loop_t*);
/third_party/libuv/include/uv_ndk/
Duv.h306 UV_EXTERN uint64_t uv_now(const uv_loop_t*);
/third_party/libuv/
DChangeLog4183 * unix, windows: uv_now constness (Rasmus Pedersen)
5093 * include: document uv_update_time() and uv_now() (Ben Noordhuis)
5101 * unix, windows: move uv_now() to uv-common.c (Ben Noordhuis)
5145 * include: document uv_update_time() and uv_now() (Ben Noordhuis)
5153 * unix, windows: move uv_now() to uv-common.c (Ben Noordhuis)
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md565 * timers: use uv_now instead of Date.now (Timothy J Fontaine)