mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-08 10:55:22 +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> |
||
---|---|---|
.. | ||
doc | ||
board_irq.h | ||
board_soc.h | ||
board.cmake | ||
CMakeLists.txt | ||
cmdline_common.c | ||
cmdline_common.h | ||
cmdline.c | ||
cmdline.h | ||
cpu_wait.c | ||
hw_counter.c | ||
hw_counter.h | ||
hw_models_top.c | ||
hw_models_top.h | ||
irq_ctrl.c | ||
irq_ctrl.h | ||
irq_handler.c | ||
irq_handler.h | ||
Kconfig | ||
Kconfig.board | ||
Kconfig.defconfig | ||
main.c | ||
native_posix_64_defconfig | ||
native_posix_64.dts | ||
native_posix_64.yaml | ||
native_posix_defconfig | ||
native_posix.dts | ||
native_posix.yaml | ||
native_rtc.c | ||
native_rtc.h | ||
native_tracing.h | ||
sdl_events.c | ||
sdl_events.h | ||
timer_model.c | ||
timer_model.h | ||
tracing.c |