Searched refs:uv_hrtime (Results 1 – 25 of 35) sorted by relevance
12
57 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()
69 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()
38 a = uv_hrtime(); in TEST_IMPL()40 b = uv_hrtime(); in TEST_IMPL()
46 start_time = uv_hrtime(); in BENCHMARK_IMPL()56 duration = (uv_hrtime() - start_time) / 1e9; in BENCHMARK_IMPL()
59 ns = uv_hrtime(); in BENCHMARK_IMPL()61 ns = uv_hrtime() - ns; in BENCHMARK_IMPL()
79 time = uv_hrtime(); in test_async_pummel()83 time = uv_hrtime() - time; in test_async_pummel()
33 t = uv_hrtime(); in timer_spin_cb()35 while (uv_hrtime() - t < 600 * UV_NS_TO_MS) { } in timer_spin_cb()
126 start = uv_hrtime(); in BENCHMARK_IMPL()131 stop = uv_hrtime(); in BENCHMARK_IMPL()
95 time = uv_hrtime(); in test_async()102 time = uv_hrtime() - time; in test_async()
202 duration = uv_hrtime(); in pummel()204 duration = uv_hrtime() - duration; in pummel()
247 before = uv_hrtime(); in TEST_IMPL()249 after = uv_hrtime(); in TEST_IMPL()
288 start_time = uv_hrtime(); in pound_it()297 end_time = uv_hrtime(); in pound_it()
404 uint64_t t = uv_hrtime(); in test_tcp()406 t = uv_hrtime() - t; in test_tcp()
327 uint64_t hrtime = uv_hrtime() / 1000000; in timer_early_check_cb()
18 #define PERFORMANCE_NOW() uv_hrtime()
66 uint64_t time = uv_hrtime(); in RecordDelta()
154 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()
322 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()
207 header_parsing_start_time_ = uv_hrtime(); in SET_SELF_SIZE()685 uint64_t now = uv_hrtime(); in OnStreamRead()
527 return uv_hrtime() / 1e9; in MonotonicallyIncreasingTime()
614 (uv_hrtime() - node::per_process::node_start_time) / (NANOS_PER_SEC); in PrintResourceUsage()
78 uint64_t start = uv_hrtime(); in data_source_thread()79 for (; uv_hrtime() - start < 200000000;); in data_source_thread()
931 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()
40 return uv_hrtime() / 1000; in CurrentTimestampMicroseconds()
165 Use :c:func:`uv_hrtime` if you need sub-millisecond granularity.