Setting CONFIG_SYS_CLOCK_TICKS_PER_SEC to 1 million in a tickless build #72487
Unanswered
pavel-kirienko
asked this question in
Q&A
Replies: 1 comment
-
@pavel-kirienko I think the downside would be the maximum time the kernel can wait ( zephyr/drivers/timer/cortex_m_systick.c Lines 15 to 21 in 012520d zephyr/drivers/timer/esp32_sys_timer.c Lines 22 to 26 in 012520d |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it a sensible idea to set
CONFIG_SYS_CLOCK_TICKS_PER_SEC = 1000000
in a tickless kernel in order to increase the time resolution, or are there side effects one needs to be aware of? I am obviously aware of the more frequent timer overflows; this is not an issue in my case. Same goes for the increased power consumption by the timer.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions