zephyr/drivers/timer
Simon Guinot aa8e34302a drivers: systick: fix cycle count in sys_clock_set_timeout()
With this patch the sys_clock_set_timeout function counts the cycles
elapsed while computing the systick timer's new load (tickless mode).
This cycles are then added to the total cycle count instead of being
lost.

This patch mitigates uptime drifting in tickless mode (especially when
high frequency timers are registered).

Signed-off-by: Simon Guinot <simon.guinot@seagate.com>
2021-05-20 08:44:55 -05:00
..
altera_avalon_timer_hal.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
apic_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
apic_tsc.c drivers/timer: Add x86 APIC TSC_DEADLINE driver 2021-05-07 16:48:58 -04:00
arcv2_timer0.c tests: boot_time: remove all the code and instrumentation feeding into test 2021-05-05 10:41:15 -04:00
arm_arch_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
cavs_timer.c xtensa: cavs: fix irq_enable() argument 2021-05-03 17:13:01 -04:00
cc13x2_cc26x2_rtc_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
CMakeLists.txt drivers/timer: Add x86 APIC TSC_DEADLINE driver 2021-05-07 16:48:58 -04:00
cortex_m_systick.c drivers: systick: fix cycle count in sys_clock_set_timeout() 2021-05-20 08:44:55 -05:00
hpet.c timer: hpet: mark functions as boot/pinned/isr 2021-05-10 16:00:43 -05:00
ite_it8xxx2_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
Kconfig drivers/timer: Add x86 APIC TSC_DEADLINE driver 2021-05-07 16:48:58 -04:00
Kconfig.stm32_lptim drivers: timer: st_stm32: add lptimer management to stm32l5 series 2021-03-26 18:06:01 -04:00
leon_gptimer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
litex_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
mchp_xec_rtos_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
mcux_os_timer.c drivers: timer: MXRT600 OS timer to wake platform from deep sleep 2021-05-05 22:28:44 -05:00
native_posix_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
npcx_itim_timer.c driver: itim: npcx: check ITEN bit to prevent return fake error. 2021-04-22 18:03:06 -04:00
nrf_rtc_timer.c drivers: timer: nrf_rtc_timer: Change type of channel argument 2021-03-25 15:54:49 +01:00
rcar_cmt_timer.c drivers: timer: add R-Car cmt driver 2021-04-22 10:38:45 +02:00
riscv_machine_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
rv32m1_lptmr_timer.c clock: rename z_timer_cycle_get_32 -> sys_clock_cycle_get_32 2021-03-19 11:22:17 -04:00
sam0_rtc_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
stm32_lptim_timer.c drivers: timer: st_stm32: add lptimer management to stm32l5 series 2021-03-26 18:06:01 -04:00
sys_clock_init.c drivers: timer: sys_clock: return -ENOSYS if not implemented 2021-05-13 07:16:02 -05:00
xlnx_psttc_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
xlnx_psttc_timer_priv.h drivers: timer: xlnx_psttc_timer: Implement tickless support 2020-03-21 14:20:17 -04:00
xtensa_sys_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00