nuttx/timer: add arch_alarm tick interface
Summary
Change sched and up timer interface to tick count.
Impact
Testing
Hi @zyfeier please include more information about this PR, what was the main motivation and what are the benefits of using this new interface? Did it make the system more accurate for timer measuring?
Hi @zyfeier please include more information about this PR, what was the main motivation and what are the benefits of using this new interface? Did it make the system more accurate for timer measuring?
Hi, acassis. This PR is not ready for review, it's a temporary change. I'll add more information if it was ready.
@acassis this patch is ready for review. The motivation of this patch is to remove tick<->timespec conversion in tickless mode to improve the performance. Of course, the old interface still keep, the user need enable SCHED_TICKLESS_TICK_ARGUMENT to get the benefit.
@zyfeier Please rebase this PR to the latest upstream master.