Searched refs:tick_size (Results 1 - 4 of 4) sorted by relevance

/tldk/test/timer/
H A Dtest_timer.c63 uint64_t now = tm->last_run_time + tm->prm.tick_size;
67 nb_tick = interval / tm->prm.tick_size;
95 now += (tm->prm.tick_size);
128 prm.tick_size = hz / 10;
143 printf("hz=%lu, tick_size=%u, ntimers=%u, niter=%u, "
144 "ticks_per_iter=%u\n", hz, prm.tick_size, tm.ntimers,
150 run_wheel(&tm, initial_wheel_offset * prm.tick_size, &expires);
168 expiration_time * prm.tick_size);
181 run_wheel(&tm, initial_wheel_offset * prm.tick_size, &expires);
216 expiration_time * prm.tick_size);
[all...]
/tldk/lib/libtle_timer/
H A Dtle_timer.h54 uint32_t tick_size; /** tick size in units */ member in struct:tle_timer_wheel_args
79 /** run the timer wheel. Call in every tick_size cycles
H A Dtimer.c167 if (prm->tick_size == 0) {
231 nb_tick = interval / tw->prm.tick_size;
284 /** run the timer wheel. Call in every tick_size cycles
298 /* Number of tick_size cycles which have occurred */
299 nb_tick = (now - tw->last_run_time) / tw->prm.tick_size;
304 tw->next_run_time = (now + tw->prm.tick_size);
/tldk/lib/libtle_l4p/
H A Dtcp_stream.c187 twprm.tick_size = TCP_RTO_GRANULARITY;

Completed in 4 milliseconds