zephyr/tests/kernel/timer
Peter Bigot 8fbc83c651 tests: timer_api: avoid compounding errors in imprecise conversions
When the timer frequency is not a multiple of 1000 converting between
ticks and milliseconds introduces error.  Avoid propagating the error
by converting divided values rather than dividing converted values.

Also compensate for observed rate differences between the busywait
clock and the timeout clock.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-05-24 20:28:58 +02:00
..
starve cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
timer_api tests: timer_api: avoid compounding errors in imprecise conversions 2020-05-24 20:28:58 +02:00
timer_monotonic cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00