Home
last modified time | relevance | path

Searched refs:start_time (Results 1 – 10 of 10) sorted by relevance

/libuv/test/
H A Dtest-timer-again.c34 static uint64_t start_time; variable
51 (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()
99 ASSERT_LT(0, start_time); in TEST_IMPL()
136 (long int)(uv_now(uv_default_loop()) - start_time)); in TEST_IMPL()
H A Dbenchmark-thread.c41 uint64_t start_time; in BENCHMARK_IMPL() local
46 start_time = uv_hrtime(); in BENCHMARK_IMPL()
56 duration = (uv_hrtime() - start_time) / 1e9; in BENCHMARK_IMPL()
H A Dbenchmark-getaddrinfo.c37 static int64_t start_time; variable
72 start_time = uv_now(loop); in BENCHMARK_IMPL()
87 (double) calls_completed / (double) (end_time - start_time) * 1000.0); in BENCHMARK_IMPL()
H A Dbenchmark-pump.c55 static int64_t start_time; variable
103 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()
173 ASSERT_OK(start_time); in read_cb()
175 start_time = uv_now(loop); in read_cb()
H A Dbenchmark-spawn.c139 static int64_t start_time, end_time; in BENCHMARK_IMPL() local
148 start_time = uv_now(loop); in BENCHMARK_IMPL()
159 (double) N / (double) (end_time - start_time) * 1000.0); in BENCHMARK_IMPL()
H A Dbenchmark-ping-udp.c49 static int64_t start_time; variable
106 if (uv_now(loop) - start_time > TIME) { in pinger_read_cb()
145 start_time = uv_now(loop); in ping_udp()
H A Dbenchmark-ping-pongs.c53 static int64_t start_time; variable
151 if (uv_now(loop) - start_time > TIME) { in pinger_read_cb()
212 start_time = uv_now(loop); in BENCHMARK_IMPL()
H A Dbenchmark-pound.c279 uint64_t start_time; /* in ns */ in pound_it() local
288 start_time = uv_hrtime(); in pound_it()
300 secs = (double)(end_time - start_time) / NANOSEC; in pound_it()
H A Dtest-timer.c35 static uint64_t start_time; variable
122 start_time = uv_now(uv_default_loop()); in TEST_IMPL()
123 ASSERT_LT(0, start_time); in TEST_IMPL()
157 ASSERT_LE(500, uv_now(uv_default_loop()) - start_time); in TEST_IMPL()
/libuv/src/
H A Dfs-poll.c41 uint64_t start_time; member
88 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()

Completed in 28 milliseconds