Home
last modified time | relevance | path

Searched refs:uv_hrtime (Results 1 - 25 of 38) sorted by relevance

12

/third_party/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-tcp-write-batch.c126 start = uv_hrtime(); in BENCHMARK_IMPL()
131 stop = uv_hrtime(); in BENCHMARK_IMPL()
H A Dbenchmark-async.c96 time = uv_hrtime(); in test_async()
103 time = uv_hrtime() - time; in test_async()
H A Dbenchmark-udp-pummel.c202 duration = uv_hrtime(); in pummel()
204 duration = uv_hrtime() - duration; in pummel()
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-pound.c288 start_time = uv_hrtime(); in pound_it()
297 end_time = uv_hrtime(); in pound_it()
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()
/third_party/node/src/
H A Dnode_perf_common.h19 #define PERFORMANCE_NOW() uv_hrtime()
H A Dhistogram-inl.h84 uint64_t time = uv_hrtime(); in RecordDelta()
H A Dnode_v8.cc288 profiler->start_time = uv_hrtime(); in BeforeGCCallback()
301 writer->json_keyvalue("cost", (uv_hrtime() - profiler->start_time) / 1e3); in AfterGCCallback()
H A Dnode_process_methods.cc248 static_cast<double>(uv_hrtime() - per_process::node_start_time); in Uptime()
505 // The value returned by uv_hrtime() is a 64-bit int representing nanoseconds,
515 uint64_t t = uv_hrtime(); in NumberImpl()
525 uint64_t t = uv_hrtime(); in BigIntImpl()
H A Dnode_http_parser.cc267 last_message_start_ = uv_hrtime(); in on_message_begin()
673 parser->last_message_start_ = uv_hrtime(); in Initialize()
743 double duration = (uv_hrtime() - parser->last_message_start_) / 1e6; in Duration()
1126 // On IoT or embedded devices the uv_hrtime() may return the timestamp in Expired()
1131 const uint64_t now = uv_hrtime(); in Expired()
H A Dnode_http2.cc330 uint64_t end = uv_hrtime(); in Done()
479 statistics_.start_time = uv_hrtime(); in Http2Session()
729 statistics_.end_time = uv_hrtime(); in Close()
2039 statistics_.start_time = uv_hrtime(); in Http2Stream()
2169 statistics_.end_time = uv_hrtime(); in Destroy()
2437 statistics_.first_header = uv_hrtime(); in AddHeader()
2486 stream->statistics_.first_byte_sent = uv_hrtime(); in OnRead()
3089 startTime_(uv_hrtime()) { in Http2Ping()
3116 uint64_t duration_ns = uv_hrtime() - startTime_; in Done()
/third_party/node/test/node-api/test_threadsafe_function/
H A Dbinding.c78 uint64_t start = uv_hrtime(); in data_source_thread()
79 for (; uv_hrtime() - start < 200000000;); in data_source_thread()
/third_party/node/src/quic/
H A Ddefs.h80 stats->*member = uv_hrtime(); in RecordTimestampStat()
H A Dpacket.cc280 conn, nullptr, nullptr, vec.base, vec.len, error, uv_hrtime()); in CreateConnectionClosePacket()
/third_party/node/src/tracing/
H A Dagent.h40 return uv_hrtime() / 1000;
/third_party/libuv/src/
H A Duv-common.c995 exit_time = uv_hrtime(); in uv__metrics_update_idle_time()
1012 now = uv_hrtime(); in uv__metrics_set_provider_entry_time()
1041 idle_time += uv_hrtime() - entry_time; in uv_metrics_idle_time()
/third_party/node/deps/uv/src/
H A Duv-common.c933 exit_time = uv_hrtime(); in uv__metrics_update_idle_time()
950 now = uv_hrtime(); in uv__metrics_set_provider_entry_time()
970 idle_time += uv_hrtime() - entry_time; in uv_metrics_idle_time()

Completed in 19 milliseconds

12