dejavudwh commented on issue #16265: URL: https://github.com/apache/nuttx/issues/16265#issuecomment-2832910339
> All nuttx timeout use tick unit, so you need just CONFIG_USEC_PER_TICK to match your precision. > But please note that you have to switch tickless mode to reduce the timer interrupt overhead if the precision is around ~10us or ~100us. @xiaoxiang781216 Thank you for your answer. This is something I’m curious about: Why did NuttX choose this design approach? Since there are use cases requiring both periodic OS Ticks and higher-precision timers, Linux addresses this by using hrtimer to provide high-precision timing while emulating a tick device within hrtimer to maintain periodic OS ticks. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org