zephyr/tests/kernel/timer
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
..
cycle64
starve tests: kernel: timer: starve: Adjust timeout value 2022-12-21 10:11:23 +01:00
timer_api tests: kernel: do not set excluded as integration platform 2022-11-30 16:00:42 -05:00
timer_behavior tests: timer_behavior: accuracy improvements 2023-03-02 21:14:52 +01:00
timer_error_case tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
timer_monotonic yamllint: indentation: fix files in tests/ 2023-01-04 14:23:53 +01:00