Home
last modified time | relevance | path

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

12

/third_party/libuv/test/
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()
Dbenchmark-fs-stat.c69 before = uv_hrtime(); in sync_bench()
74 after = uv_hrtime(); in sync_bench()
110 before = uv_hrtime(); in async_bench()
112 after = uv_hrtime(); in async_bench()
Dtest-hrtime.c38 a = uv_hrtime(); in TEST_IMPL()
40 b = uv_hrtime(); in TEST_IMPL()
Dbenchmark-thread.c46 start_time = uv_hrtime(); in BENCHMARK_IMPL()
56 duration = (uv_hrtime() - start_time) / 1e9; in BENCHMARK_IMPL()
Dbenchmark-loop-count.c59 ns = uv_hrtime(); in BENCHMARK_IMPL()
61 ns = uv_hrtime() - ns; in BENCHMARK_IMPL()
Dbenchmark-async-pummel.c79 time = uv_hrtime(); in test_async_pummel()
83 time = uv_hrtime() - time; in test_async_pummel()
Dtest-metrics.c33 t = uv_hrtime(); in timer_spin_cb()
35 while (uv_hrtime() - t < 600 * UV_NS_TO_MS) { } in timer_spin_cb()
Dbenchmark-tcp-write-batch.c126 start = uv_hrtime(); in BENCHMARK_IMPL()
131 stop = uv_hrtime(); in BENCHMARK_IMPL()
Dbenchmark-async.c95 time = uv_hrtime(); in test_async()
102 time = uv_hrtime() - time; in test_async()
Dbenchmark-udp-pummel.c202 duration = uv_hrtime(); in pummel()
204 duration = uv_hrtime() - duration; in pummel()
Dtest-condvar.c247 before = uv_hrtime(); in TEST_IMPL()
249 after = uv_hrtime(); in TEST_IMPL()
Dbenchmark-pound.c288 start_time = uv_hrtime(); in pound_it()
297 end_time = uv_hrtime(); in pound_it()
Dbenchmark-multi-accept.c404 uint64_t t = uv_hrtime(); in test_tcp()
406 t = uv_hrtime() - t; in test_tcp()
Dtest-timer.c327 uint64_t hrtime = uv_hrtime() / 1000000; in timer_early_check_cb()
/third_party/node/src/
Dnode_perf_common.h18 #define PERFORMANCE_NOW() uv_hrtime()
Dhistogram-inl.h66 uint64_t time = uv_hrtime(); in RecordDelta()
Dnode_process_methods.cc154 uint64_t t = uv_hrtime(); in Hrtime()
167 fields[0] = uv_hrtime(); in HrtimeBigInt()
267 static_cast<double>(uv_hrtime() - per_process::node_start_time); in Uptime()
Dnode_http2.cc322 uint64_t end = uv_hrtime(); in Done()
469 statistics_.start_time = uv_hrtime(); in Http2Session()
658 statistics_.end_time = uv_hrtime(); in Close()
1891 statistics_.start_time = uv_hrtime(); in Http2Stream()
2018 statistics_.end_time = uv_hrtime(); in Destroy()
2287 statistics_.first_header = uv_hrtime(); in AddHeader()
2336 stream->statistics_.first_byte_sent = uv_hrtime(); in OnRead()
2940 startTime_(uv_hrtime()) { in Http2Ping()
2967 uint64_t duration_ns = uv_hrtime() - startTime_; in Done()
Dnode_http_parser.cc207 header_parsing_start_time_ = uv_hrtime(); in SET_SELF_SIZE()
685 uint64_t now = uv_hrtime(); in OnStreamRead()
Dnode_platform.cc527 return uv_hrtime() / 1e9; in MonotonicallyIncreasingTime()
Dnode_report.cc614 (uv_hrtime() - node::per_process::node_start_time) / (NANOS_PER_SEC); in PrintResourceUsage()
/third_party/node/test/node-api/test_threadsafe_function/
Dbinding.c78 uint64_t start = uv_hrtime(); in data_source_thread()
79 for (; uv_hrtime() - start < 200000000;); in data_source_thread()
/third_party/libuv/src/
Duv-common.c931 exit_time = uv_hrtime(); in uv__metrics_update_idle_time()
948 now = uv_hrtime(); in uv__metrics_set_provider_entry_time()
968 idle_time += uv_hrtime() - entry_time; in uv_metrics_idle_time()
/third_party/node/src/tracing/
Dagent.h40 return uv_hrtime() / 1000; in CurrentTimestampMicroseconds()
/third_party/libuv/docs/src/
Dloop.rst165 Use :c:func:`uv_hrtime` if you need sub-millisecond granularity.

12