Fix-Point opened a new pull request, #16343: URL: https://github.com/apache/nuttx/pull/16343
## Summary - 1. Simplified the `nxsched_timer_process` function to enhance readability and maintainability. - 2. Improved absolute timer accuracy by moving the `tick++` operation to the relative watchdog timer, removing unnecessary tick increments for absolute timers. - 3. Added `CONFIG_TIMER_ADJUST_USEC` to support time compensation for watchdog timers, reducing interrupt latency by setting the timer adjustment value to the Best-Case Execution Time (BCET). ## Impact - 1. Improves code maintainability and readability without functional changes. - 2. Improves the accuracy of absolute timers by optimizing the tick increment process. - 3. Enhances timer precision by compensating for interrupt latency. ## Testing Tested on `QEMU/x86_64` and `sim`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
