Home
last modified time | relevance | path

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

/libuv/test/
H A Dbenchmark-million-timers.c42 uv_timer_t* timers; in BENCHMARK_IMPL() local
51 timers = malloc(NUM_TIMERS * sizeof(timers[0])); in BENCHMARK_IMPL()
52 ASSERT_NOT_NULL(timers); in BENCHMARK_IMPL()
60 ASSERT_OK(uv_timer_init(loop, timers + i)); in BENCHMARK_IMPL()
61 ASSERT_OK(uv_timer_start(timers + i, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
69 uv_close((uv_handle_t*) (timers + i), close_cb); in BENCHMARK_IMPL()
76 free(timers); in BENCHMARK_IMPL()
/libuv/docs/src/
H A Ddesign.rst65 #. Due timers are run if the loop was run with ``UV_RUN_DEFAULT``. All active timers scheduled
91 if there are no active timers, infinity.
105 #. Due timers are run. Note that 'now' is not updated again until the next loop iteration.
106 So if a timer became due while other timers were being processed, it won't be run until
/libuv/docs/src/guide/
H A Deventloops.rst30 lead to this iteration of the loop occurring. First libuv updates timers, then
H A Dutilities.rst13 started. libuv timers can also be set to invoke at regular intervals instead of
52 applies **only to repeating timers** and is equivalent to stopping the timer
76 The latter can be used with interval timers. You might have a garbage collector
251 things are set in motion. This simply starts a libuv `timer <#timers>`_ which
H A Dbasics.rst6 and other activities. libuv offers core utilities like timers, non-blocking
/libuv/
H A DChangeLog302 * unix,win: fix busy loop with zero timeout timers (Matheus Izvekov)
488 * src: don't run timers if loop is stopped/unref'd (Trevor Norris)
727 * win,unix: change execution order of timers (Trevor Norris)
2596 * unix,win: merge timers implementation (Ben Noordhuis)
3639 * win: evaluate timers when system wakes up (Bartosz Sosnowski)
4889 * windows: further simplify the code for timers (Saúl Ibarra Corretgé)
4895 * unix, windows: don't allow a NULL callback on timers (Saúl Ibarra Corretgé)
5255 * unix: use a heap for timers (Ben Noordhuis)
6097 * unix, windows: ensure that uv_run() in RUN_ONCE mode calls timers that expire
6225 * windows: make timers handle large timeouts (Miroslav Bajtoš)
[all …]
H A DCMakeLists.txt508 test/benchmark-million-timers.c

Completed in 23 milliseconds