mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-11 13:45:52 +00:00
In native_posix and nrf52_bsim add the cpu_hold() function, which can be used to emulate the time it takes for code to execute. It is very similar to arch_busy_wait(), but while arch_busy_wait() returns when the requested time has passed, cpu_hold() ensures that the time passes in the callers context independently of how much time may pass in some other context. Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com> |
||
---|---|---|
.. | ||
arc | ||
arm | ||
common | ||
nios2 | ||
posix | ||
riscv | ||
sparc | ||
x86 | ||
xtensa | ||
CMakeLists.txt | ||
Kconfig |