Skip to content

Commit 927f3e8

Browse files
computersforpeacerafaeljw
authored andcommitted
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>
1 parent 07e27ad commit 927f3e8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Documentation/ABI/testing/sysfs-devices-power

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,15 +274,15 @@ What: /sys/devices/.../power/runtime_active_time
274274
Date: Jul 2010
275275
Contact: Arjan van de Ven <arjan@linux.intel.com>
276276
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.
279279

280280
What: /sys/devices/.../power/runtime_suspended_time
281281
Date: Jul 2010
282282
Contact: Arjan van de Ven <arjan@linux.intel.com>
283283
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.
286286

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

0 commit comments

Comments
 (0)