zephyr/tests/kernel/timer/timer_behavior/src
Nicolas Pitre 4cc21e2f4a tests: timer_behavior: accuracy improvements
Don't sample the first entry outside the timer as this is a different
code path which produces a different offset from the clock tick.

Use sys_clock_hw_cycles_per_sec() to be compatible with systems that
read their hardware clock frequency at run time.

Perform cycle difference computations with uint64_t. If ever the
magnitude of the absolute clock cycle values is greater than 52 bits
then the cast to a double will actually lose accuracy.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2023-03-02 21:14:52 +01:00
..
jitter_drift.c tests: timer_behavior: accuracy improvements 2023-03-02 21:14:52 +01:00
main.c tests: Tick rate testing with timer train 2022-10-12 20:42:22 -04:00
tick_timer_train.c tests: kernel: timer_behavior: improve timer_tick_train output 2023-02-19 20:34:37 -05:00