zephyr/tests/kernel/timer
Keith Packard 5d6b43f684 tests/timer_api: Use correct 'abs' macro with correct type parameter
Subtracting with a uint64_t operand yields a uint64_t result, for which
the absolute value is not terribly interesting. Cast the operand to
int64_t.

Use llabs instead of abs as abs takes an int parameter and not an
int64_t. This appears to work even with the minimal C library.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-06-14 01:50:36 +09:00
..
cycle64 tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
starve tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
timer_api tests/timer_api: Use correct 'abs' macro with correct type parameter 2022-06-14 01:50:36 +09:00
timer_error_case tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
timer_monotonic tests: timer_monotonic: Enable APIC timer's TSC deadline mode on ehl_crb 2022-06-06 22:45:58 +02:00