mirror of https://github.com/ARMmbed/mbed-os.git
Use a busy loop with non-blocking Semaphore::wait(0) calls instead of a single Semaphore::wait(osWaitForever) to improve time measurement accuracy. Looping in Semaphore::wait(0) prevents the board from entering sleep or deepsleep modes while waiting for the semaphore. By skipping the overhead wakeup time, we get more accurate timings. |
||
---|---|---|
.. | ||
events | ||
host_tests | ||
integration/basic | ||
lorawan/loraradio | ||
mbed-crypto/sanity | ||
mbed_drivers | ||
mbed_functional | ||
mbed_hal | ||
mbed_platform | ||
mbedmicro-mbed | ||
mbedmicro-rtos-mbed | ||
mbedtls | ||
netsocket | ||
network | ||
nfc/eeprom | ||
psa |