#include <nitro/os.h>
void OS_SpinWait( u32 cycles );
cycles | The number of cycles to wait (CPU cycles) |
None.
This function makes the CPU run empty loops for at least the number of cycles specified by cycles
.
This function only causes empty loop processing. Therefore, be aware that the return time from this function may be greatly delayed by interrupts that are generated during the loops.
Because of function calls and other overhead, return from this function might be delayed slightly more than the specified number of cycles.
02/27/2004 Initial Version