zephyr/tests/subsys/pm
Roman Dobrodii 2f0ce5a3e8 tests/subsys/pm/power_mgmt_soc: fix various bugs
- Reduce "extra" added latency when trying to enter light
  sleep from 500ms to 50us, since light sleep states
  (e.g. "WFI idle") usually have microsecond-range residency
  times.
- Keep "extra" latency when entering deep sleep the same at
  1100ms (as we're trying to enter the deepest sleep state
  available, it doesn't hurt).
- Replace k_uptime_delta() with manual subtraction since
  k_uptime_delta() updates starting timestamp which leads to
  incorrect timing measurement when k_uptime_delta() is
  called for the second time.
- Measuring PM sleep entry latency using pm_notifier entry
  callback, do it only for the first PM entry event after
  calling k_usleep(), as during the sleep PM entry & exit
  may happen multiple times and that is normal.

Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
2023-04-19 17:12:42 +02:00
..
device_power_domains tests: pm: power domains: test supported device 2023-01-24 09:42:11 +01:00
device_runtime_api device: remove redundant init functions 2023-04-19 10:00:25 +02:00
device_wakeup_api tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
policy_api tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
power_domain device: remove redundant init functions 2023-04-19 10:00:25 +02:00
power_mgmt device: remove redundant init functions 2023-04-19 10:00:25 +02:00
power_mgmt_multicore tests: power_mgmt_multicore: Convert away from CONFIG_MP_NUM_CPUS 2022-10-27 11:00:28 +02:00
power_mgmt_soc tests/subsys/pm/power_mgmt_soc: fix various bugs 2023-04-19 17:12:42 +02:00
power_states_api dts: bindings: drop remaining "required: false" from bindings 2023-01-04 14:23:53 +01:00