incubator-nuttx/sched/timer
ouyangxiangzhen 5a01f0f7f6 POSIX timer: Optimize overrun check by replacing loop with division.
Converted the timer overrun check from a loop-based approach to a division-based method. This change ensures a deterministic worst-case execution time (WCET), even if it might not outperform the loop in average scenarios.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
2024-09-17 12:15:14 +08:00
..
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Make.defs sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
timer.h sched/timer: Fix timer accuracy problems 2024-09-17 12:15:14 +08:00
timer_create.c signal: Add support for SIGEV_THREAD_ID and sigev_notify_thread_id 2024-09-17 12:15:14 +08:00
timer_delete.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
timer_getitimer.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
timer_getoverrun.c sched/timer: Fix timer accuracy problems 2024-09-17 12:15:14 +08:00
timer_gettime.c clock: Replace all ts and tick conversion functions 2024-09-12 18:14:39 +08:00
timer_initialize.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
timer_release.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
timer_setitimer.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
timer_settime.c POSIX timer: Optimize overrun check by replacing loop with division. 2024-09-17 12:15:14 +08:00