docs/scheduler: Change unit of cpu_time and rq_time to nanoseconds
authorChunguang Xu <brookxu@tencent.com>
Fri, 8 Apr 2022 09:31:06 +0000 (17:31 +0800)
committerJonathan Corbet <corbet@lwn.net>
Sat, 16 Apr 2022 08:35:51 +0000 (02:35 -0600)
In the current implementation, cpu_time and rq_time should be
in nanoseconds, so this document needs to be modified.

Signed-off-by: Chunguang Xu <brookxu@tencent.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/scheduler/sched-stats.rst

index dd9b99a..9078a27 100644 (file)
@@ -56,9 +56,9 @@ Next two are try_to_wake_up() statistics:
 
 Next three are statistics describing scheduling latency:
 
-     7) sum of all time spent running by tasks on this processor (in jiffies)
+     7) sum of all time spent running by tasks on this processor (in nanoseconds)
      8) sum of all time spent waiting to run by tasks on this processor (in
-        jiffies)
+        nanoseconds)
      9) # of timeslices run on this cpu