Skip to content

Commit

Permalink
docs/scheduler: Change unit of cpu_time and rq_time to nanoseconds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chunguang Xu authored and Jonathan Corbet committed Apr 16, 2022
1 parent 6c300a7 commit ddb21d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/scheduler/sched-stats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit ddb21d2

Please sign in to comment.