Commit 927f3e85 authored by Brian Norris's avatar Brian Norris Committed by Rafael J. Wysocki
Browse files

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: default avatarBrian Norris <briannorris@chromium.org>
Reviewed-by: default avatarDhruva Gole <d-gole@ti.com>
Link: https://patch.msgid.link/20250923150625.1.If11a14e33d578369db48d678395d0323bdb01915@changeid


[ rjw: Subject edits, changelog tweak ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 07e27ad1
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -274,15 +274,15 @@ What: /sys/devices/.../power/runtime_active_time
Date:		Jul 2010
Contact:	Arjan van de Ven <arjan@linux.intel.com>
Description:
		Reports the total time that the device has been active.
		Used for runtime PM statistics.
		Reports the total time that the device has been active, in
		milliseconds. Used for runtime PM statistics.

What:		/sys/devices/.../power/runtime_suspended_time
Date:		Jul 2010
Contact:	Arjan van de Ven <arjan@linux.intel.com>
Description:
		Reports total time that the device has been suspended.
		Used for runtime PM statistics.
		Reports total time that the device has been suspended, in
		milliseconds. Used for runtime PM statistics.

What:		/sys/devices/.../power/runtime_usage
Date:		Apr 2010