Skip to content
Commit 24bdb9cc authored by Piotr Zięcik's avatar Piotr Zięcik Committed by Anas Nashif
Browse files

tests: test_sched_timeslice_reset: Fix slice time measurement



The time measurement based on k_uptime_delta() might be not accurate
for some values of CONFIG_SYS_CLOCK_TICKS_PER_SEC. This commit
introduces measurement based on k_cycle_get_32(), which is more
precise.

Signed-off-by: default avatarPiotr Zięcik <piotr.ziecik@nordicsemi.no>
parent 94aaf7d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment