linux/Documentation/scheduler
Jui-Tse Huang 6c757e9f55 docs/scheduler: fix unit error
The unit mentioned in the documentation of scheduler statistics is
outdated which may mislead the readers.

The unit of statistics that is reported by /proc/schedstat is modified
to nanosecond, and the unit of statistics that is reported by
/proc/PID/schedstat is provided as well to make the context consistent.

The rq_cpu_time and the rq_sched_info.run_delay of a run queue, and the
sched_info.run_delay of a task are all updated based on the clock of the
run queue, while the se.sum_exec_runtime of a task is updated based on
the clock_task of the run queue of the task. Both the clock and
clock_task are relied on the return value of the function sched_clock()
which is in the unit of nanosecond.

Signed-off-by: Jui-Tse Huang <juitse.huang@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2022-04-16 02:54:32 -06:00
..
completion.rst docs: scheduler: convert docs to ReST and rename to *.rst 2019-06-14 14:32:18 -06:00
index.rst Changes in this cycle were: 2022-03-22 14:39:12 -07:00
sched-arch.rst docs: scheduler: convert docs to ReST and rename to *.rst 2019-06-14 14:32:18 -06:00
sched-bwc.rst docs/scheduler: fix typo and warning in sched-bwc 2021-12-06 12:15:49 -07:00
sched-capacity.rst sched/doc: Update the CPU capacity asymmetry bits 2021-06-24 09:07:51 +02:00
sched-deadline.rst Documentation: Replace lkml.org links with lore 2021-01-11 12:47:38 -07:00
sched-debug.rst sched/numa-balancing: Move some document to make it consistent with the code 2022-02-11 23:30:08 +01:00
sched-design-CFS.rst docs/scheduler/sched-design-CFS: formatting fix 2021-01-21 11:40:21 -07:00
sched-domains.rst docs: scheduler: Fix outdated parameter of rebalance_domains 2022-02-01 16:29:25 -07:00
sched-energy.rst sched/doc: Update the CPU capacity asymmetry bits 2021-06-24 09:07:51 +02:00
sched-nice-design.rst Documentation: scheduler: fixed 2 typos in sched-nice-design.rst 2021-05-17 12:42:59 -06:00
sched-pelt.c sched/fair: Fix "runnable_avg_yN_inv" not used warnings 2019-06-17 12:15:58 +02:00
sched-rt-group.rst docs: cgroup-v1: add it to the admin-guide book 2019-07-15 11:03:02 -03:00
sched-stats.rst docs/scheduler: fix unit error 2022-04-16 02:54:32 -06:00
schedutil.rst docs: scheduler: Convert schedutil.txt to ReST 2022-03-16 15:03:24 -06:00
text_files.rst docs: scheduler: convert docs to ReST and rename to *.rst 2019-06-14 14:32:18 -06:00