zephyr/tests/kernel/timer/timer_behavior
Nicolas Pitre a115fd21d4 tests: kernel: timer_behavior: improve the timer_jitter_drift output
Provide an estimate of the test duration.
Make the output nicer than a few overloaded and wrapped lines.
Provide more context in the presence of period time drift.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2023-02-19 20:34:37 -05:00
..
src tests: kernel: timer_behavior: improve the timer_jitter_drift output 2023-02-19 20:34:37 -05:00
CMakeLists.txt
Kconfig tests: kernel: timer_behavior: Fix building on targets with small SRAM 2022-09-29 13:36:00 -05:00
prj.conf tests: kernel: timer_behavior: improve timer_tick_train output 2023-02-19 20:34:37 -05:00
README test: timer_behavior: Rename readme.md to readme 2022-09-06 17:54:52 -04:00
testcase.yaml yamllint: fix all yamllint line-length errors 2023-01-04 01:16:45 +09:00

# Test a timer implementations variance and long term drift

Records and calculates statistical values against a timer validating that.

1. Timer variance and standard deviation is below defined acceptable values.
2. Periodic timers do not drift in either direction from expected total time.

Timers are meant to be precise and accurate. This test validates an implementation is both.