Home
last modified time | relevance | path

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

/Zephyr-latest/kernel/
Dtimeout.c15 static uint64_t curr_tick; variable
118 k_ticks_t ticks = Z_TICK_ABS(timeout.ticks) - curr_tick; in z_add_timeout()
191 ticks = curr_tick; in z_timeout_expires()
235 curr_tick += dt; in sys_clock_announce()
249 curr_tick += announce_remaining; in sys_clock_announce()
266 t = curr_tick + elapsed(); in sys_clock_tick_get()
276 return (uint32_t)curr_tick; in sys_clock_tick_get_32()
333 curr_tick = tick; in z_impl_sys_clock_tick_set()
/Zephyr-latest/drivers/timer/
Dnrf_grtc_timer.c290 int64_t curr_tick; in z_nrf_grtc_timer_get_ticks() local
296 curr_tick = sys_clock_tick_get(); in z_nrf_grtc_timer_get_ticks()
307 result = (abs_ticks - curr_tick) * CYC_PER_TICK; in z_nrf_grtc_timer_get_ticks()
Dnrf_rtc_timer.c201 int64_t curr_tick; in z_nrf_rtc_timer_get_ticks() local
207 curr_tick = sys_clock_tick_get(); in z_nrf_rtc_timer_get_ticks()
218 result = abs_ticks - curr_tick; in z_nrf_rtc_timer_get_ticks()