Please sign in to comment.
kernel/timeout: Remove "clock_always_on", replace with "SLOPPY_IDLE"
This is an oddball API. It's untested. In fact testing its proper behavior requires very elaborate automation (you need a device outside the Zephyr hardware to measure real world time, and a mechanism for getting the device into and out of idle without using the timer driver). And this makes for needless difficulty managing code coverage metrics. It was always just a hint anyway. Mark the old API deprecated and replace it with a kconfig tunable. The effect of that is just to change the timeout value passed to the timer driver, where we can manage code coverage metrics more easily (only one driver cares to actually support this feature anyway). Signed-off-by: Andy Ross <email@example.com>
- Loading branch information...
Showing with 34 additions and 28 deletions.