Home
last modified time | relevance | path

Searched refs:timers (Results 1 – 6 of 6) sorted by last modified time

/unit/src/
H A Dnxt_router.c4543 main_app_port->idle_start = task->thread->engine->timers.now; in nxt_router_app_port_release()
4688 threshold = engine->timers.now + app->joint->idle_timer.bias; in nxt_router_adjust_idle_timer()
H A Dnxt_event_engine.h443 nxt_timers_t timers; member
H A Dnxt_event_engine.c128 if (nxt_timers_init(&engine->timers, 4 * events) != NXT_OK) { in nxt_event_engine_create()
135 engine->timers.now = nxt_thread_monotonic_time(thread) / 1000000; in nxt_event_engine_create()
H A Dnxt_timer.c132 timers = &engine->timers; in nxt_timer_change()
140 if (timers->nchanges >= timers->mchanges) { in nxt_timer_change()
166 timers = &engine->timers; in nxt_timer_changes_commit()
170 ch = timers->changes; in nxt_timer_changes_commit()
224 timers->nchanges = 0; in nxt_timer_changes_commit()
238 timers = &engine->timers; in nxt_timer_find()
244 tree = &timers->tree; in nxt_timer_find()
274 timers->minimum = timers->now + 24 * 60 * 60 * 1000; in nxt_timer_find()
288 timers = &engine->timers; in nxt_timer_expire()
289 timers->now = now; in nxt_timer_expire()
[all …]
H A Dnxt_stream_module.c108 rate->last = engine->timers.now; in nxt_stream_connection_peer()
H A Dnxt_timer.h95 nxt_int_t nxt_timers_init(nxt_timers_t *timers, nxt_uint_t mchanges);