Home
last modified time | relevance | path

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

/libuv/test/
H A Dbenchmark-million-timers.c25 #define NUM_TIMERS (10 * 1000 * 1000) macro
51 timers = malloc(NUM_TIMERS * sizeof(timers[0])); in BENCHMARK_IMPL()
58 for (i = 0; i < NUM_TIMERS; i++) { in BENCHMARK_IMPL()
68 for (i = 0; i < NUM_TIMERS; i++) in BENCHMARK_IMPL()
74 ASSERT_EQ(timer_cb_called, NUM_TIMERS); in BENCHMARK_IMPL()
75 ASSERT_EQ(close_cb_called, NUM_TIMERS); in BENCHMARK_IMPL()

Completed in 5 milliseconds