k_uptime_get values in QEMU


martin.schoenstedt@...
 

Hello,
I am experiencing a problem and don't know how to solve it. Running k_uptime_get() returns the same value as k_uptime_ticks() and is a lot higher than the actual uptime in milliseconds. I did not change any configurations and am using Zephyr version 2.6.0. Did anyone encounter a similar problem or is this a problem related to QEMU? (I don't have a physical board to check the same samples there).
Thankful for any help!

kind regards
Martin Schönstedt

Join users@lists.zephyrproject.org to automatically receive all group messages.