forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/Documentation/ABI/stable/sysfs-bus-usb
....@@ -50,8 +50,10 @@
5050
5151 Tools can use this file and the connected_duration file to
5252 compute the percentage of time that a device has been active.
53
- For example,
54
- echo $((100 * `cat active_duration` / `cat connected_duration`))
53
+ For example::
54
+
55
+ echo $((100 * `cat active_duration` / `cat connected_duration`))
56
+
5557 will give an integer percentage. Note that this does not
5658 account for counter wrap.
5759 Users: