Home
last modified time | relevance | path

Searched refs:uv_hrtime (Results 1 – 20 of 20) sorted by relevance

/libuv/test/
H A Dbenchmark-million-timers.c57 before_all = uv_hrtime(); in BENCHMARK_IMPL()
64 before_run = uv_hrtime(); in BENCHMARK_IMPL()
66 after_run = uv_hrtime(); in BENCHMARK_IMPL()
72 after_all = uv_hrtime(); in BENCHMARK_IMPL()
H A Dbenchmark-loop-count.c73 ns = uv_hrtime(); in BENCHMARK_IMPL()
75 ns = uv_hrtime() - ns; in BENCHMARK_IMPL()
120 ns = uv_hrtime(); in BENCHMARK_IMPL()
122 ns = uv_hrtime() - ns; in BENCHMARK_IMPL()
H A Dbenchmark-fs-stat.c70 before = uv_hrtime(); in sync_bench()
75 after = uv_hrtime(); in sync_bench()
112 before = uv_hrtime(); in async_bench()
114 after = uv_hrtime(); in async_bench()
H A Dbenchmark-thread.c46 start_time = uv_hrtime(); in BENCHMARK_IMPL()
56 duration = (uv_hrtime() - start_time) / 1e9; in BENCHMARK_IMPL()
H A Dtest-hrtime.c38 a = uv_hrtime(); in TEST_IMPL()
40 b = uv_hrtime(); in TEST_IMPL()
H A Dbenchmark-async-pummel.c80 time = uv_hrtime(); in test_async_pummel()
84 time = uv_hrtime() - time; in test_async_pummel()
H A Dbenchmark-async.c96 time = uv_hrtime(); in test_async()
103 time = uv_hrtime() - time; in test_async()
H A Dbenchmark-tcp-write-batch.c126 start = uv_hrtime(); in BENCHMARK_IMPL()
131 stop = uv_hrtime(); in BENCHMARK_IMPL()
H A Dbenchmark-udp-pummel.c202 duration = uv_hrtime(); in pummel()
204 duration = uv_hrtime() - duration; in pummel()
H A Dbenchmark-pound.c288 start_time = uv_hrtime(); in pound_it()
297 end_time = uv_hrtime(); in pound_it()
H A Dtest-metrics.c44 t = uv_hrtime(); in timer_spin_cb()
46 while (uv_hrtime() - t < 600 * UV_NS_TO_MS) { } in timer_spin_cb()
H A Dbenchmark-multi-accept.c404 uint64_t t = uv_hrtime(); in test_tcp()
406 t = uv_hrtime() - t; in test_tcp()
H A Dtest-timer.c380 uint64_t hrtime = uv_hrtime() / 1000000; in timer_early_check_cb()
/libuv/src/
H A Duv-common.c1003 exit_time = uv_hrtime(); in uv__metrics_update_idle_time()
1020 now = uv_hrtime(); in uv__metrics_set_provider_entry_time()
1049 idle_time += uv_hrtime() - entry_time; in uv_metrics_idle_time()
/libuv/docs/src/
H A Dloop.rst183 Use :c:func:`uv_hrtime` if you need sub-millisecond granularity.
H A Dmisc.rst654 .. c:function:: uint64_t uv_hrtime(void)
/libuv/src/win/
H A Dutil.c458 uint64_t uv_hrtime(void) { in uv_hrtime() function
/libuv/src/unix/
H A Dcore.c152 uint64_t uv_hrtime(void) { in uv_hrtime() function
/libuv/include/
H A Duv.h1821 UV_EXTERN uint64_t uv_hrtime(void);
/libuv/
H A DChangeLog107 * darwin: simplify uv_hrtime (Saúl Ibarra Corretgé)
1494 * win, util: rearrange uv_hrtime (Bartosz Sosnowski)
2267 * test: relax uv_hrtime() test assumptions (Ben Noordhuis)
5423 * windows/timer: fix uv_hrtime discontinuity (Bert Belder)

Completed in 58 milliseconds