mbed-os/TESTS
Kevin Bracey 57310729d4 wait_us optimization
As the timer code became more generic, coping with initialization on
demand, and variable width and speed us_ticker_api implementations,
wait_us has gradually gotten slower and slower.

Some platforms have reportedly seen overhead of wait_us() increase from
10µs to 30µs. These changes should fully reverse that drop, and even
make it better than ever.

Add fast paths for platforms that provide compile-time information about
us_ticker. Speed and code size is improved further if:

* Timer has >= 2^32 microsecond range, or better still is 32-bit 1MHz.
* Platform implements us_ticker_read() as a macro
* Timer is initialised at boot, rather than first use

The latter initialisation option is the default for STM, as this has
always been the case.
2019-06-14 10:22:08 +03:00
..
events tests: astyle fix 2018-08-03 10:23:38 +01:00
host_tests Py3 fixes for test scripts 2019-05-08 13:46:01 +03:00
integration/basic tests: astyle fix 2018-08-03 10:23:38 +01:00
lorawan/loraradio Introduce Semaphore::acquire methods 2019-05-28 17:02:06 +03:00
mbed-crypto/sanity Remove #ifndef NO_GREENTEA from tests 2019-03-14 11:16:44 +02:00
mbed_drivers Merge pull request #10762 from mprse/reenable_tests 2019-06-11 07:35:41 +01:00
mbed_functional tests: astyle fix 2018-08-03 10:23:38 +01:00
mbed_hal wait_us optimization 2019-06-14 10:22:08 +03:00
mbed_platform Disable time drifting test cases. 2019-06-06 21:48:04 +02:00
mbedmicro-mbed copyright 2019 fix 2019-02-15 13:37:40 +00:00
mbedmicro-rtos-mbed Disable time drifting test cases. 2019-06-06 21:48:04 +02:00
mbedtls Fix PSA-HAL, TRNG, TLS tests 2018-12-06 01:22:50 +02:00
netsocket Merge pull request #10665 from tymoteuszblochmobica/json 2019-06-09 18:05:03 +01:00
network Fix networkinterface non-blocking status test 2019-06-06 09:04:44 +03:00
nfc/eeprom Fix long writes/reads stack overflowing (#8802) 2018-12-13 18:18:01 -06:00
psa Build PS tests only if FLASHIAP exists 2019-05-22 17:17:23 +03:00
usb_device Tests: USBHID: Make report test optional on Linux 2019-04-09 17:03:22 +02:00