acrn-kernel/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
index.rst Changes in this cycle were: 2022-03-22 14:39:12 -07:00
sched-arch.rst
sched-bwc.rst docs/scheduler: fix typo and warning in sched-bwc 2021-12-06 12:15:49 -07:00
sched-capacity.rst
sched-deadline.rst
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
sched-domains.rst docs: scheduler: Fix outdated parameter of rebalance_domains 2022-02-01 16:29:25 -07:00
sched-energy.rst
sched-nice-design.rst
sched-pelt.c
sched-rt-group.rst
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