Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PM: runtime: Documentation: ABI: Document time units for *_time

Many .../power/... time-related attributes have an "_ms" suffix and also
include language in their ABI description to make clear that their time
is measured in milliseconds. However, 'runtime_suspended_time' and
'runtime_active_time' have neither, and it takes me a nontrivial amount
of time to poke through the source to confirm that they are also
measured in milliseconds.

Update the doc with "millisecond" units.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Link: https://patch.msgid.link/20250923150625.1.If11a14e33d578369db48d678395d0323bdb01915@changeid
[ rjw: Subject edits, changelog tweak ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Brian Norris and committed by
Rafael J. Wysocki
927f3e85 07e27ad1

+4 -4
+4 -4
Documentation/ABI/testing/sysfs-devices-power
··· 274 274 Date: Jul 2010 275 275 Contact: Arjan van de Ven <arjan@linux.intel.com> 276 276 Description: 277 - Reports the total time that the device has been active. 278 - Used for runtime PM statistics. 277 + Reports the total time that the device has been active, in 278 + milliseconds. Used for runtime PM statistics. 279 279 280 280 What: /sys/devices/.../power/runtime_suspended_time 281 281 Date: Jul 2010 282 282 Contact: Arjan van de Ven <arjan@linux.intel.com> 283 283 Description: 284 - Reports total time that the device has been suspended. 285 - Used for runtime PM statistics. 284 + Reports total time that the device has been suspended, in 285 + milliseconds. Used for runtime PM statistics. 286 286 287 287 What: /sys/devices/.../power/runtime_usage 288 288 Date: Apr 2010