zephyr/tests/subsys/pm/policy_api
Bjarki Arge Andreasen 59779ebe4b pm: policy: event: use uptime ticks
Update events to use uptime ticks, which is a monotonic clock which
in the same res as kernel ticks. This makes comparisons simple and
removes the complexity of dealing with wrapping counter values.

The wrapping is particularly problematic for events since this makes
it quite complex to track if an event has occured in the past, or
will occur in the future. This info is needed to know if an event
has actually been handled or not.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2024-12-09 03:55:52 +01:00
..
src pm: policy: event: use uptime ticks 2024-12-09 03:55:52 +01:00
app.overlay
CMakeLists.txt
Kconfig tests: pm: select HAS_PM 2023-07-20 10:33:00 +00:00
prj.conf tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
testcase.yaml tests/subsys/pm: Don't test on native_posix 2024-09-25 04:04:36 -04:00