Home
last modified time | relevance | path

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

/third_party/libuv/test/
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(timer_cb_called == NUM_TIMERS); in BENCHMARK_IMPL()
75 ASSERT(close_cb_called == NUM_TIMERS); in BENCHMARK_IMPL()