Commit 4116ff79 authored by Yanteng Si's avatar Yanteng Si Committed by Jonathan Corbet

Docs/zh_CN: Update the translation of sched-stats to 5.19-rc8

Update to commit 6c757e9f ("docs/scheduler:
fix unit error")

ddb21d27 ("docs/scheduler: Change unit of
cpu_time and rq_time to nanoseconds")
Signed-off-by: default avatarYanteng Si <siyanteng@loongson.cn>
Reviewed-by: default avatarWu XiangCheng <bobwxc@email.cn>
Reviewed-by: default avatarAlex Shi <alexs@kernel.org>
Link: https://lore.kernel.org/r/3cb1c4c466dfa38d72a867dc6e2c833ceb69ecb7.1658983157.git.siyanteng@loongson.cnSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent ce112007
...@@ -57,8 +57,8 @@ cpu<N> 1 2 3 4 5 6 7 8 9 ...@@ -57,8 +57,8 @@ cpu<N> 1 2 3 4 5 6 7 8 9
接下来的三个统计数据描述了调度延迟: 接下来的三个统计数据描述了调度延迟:
7) 本处理器运行任务的总时间,单位是jiffies 7) 本处理器运行任务的总时间,单位是纳秒
8) 本处理器任务等待运行的时间,单位是jiffies 8) 本处理器任务等待运行的时间,单位是纳秒
9) 本CPU运行了#个时间片 9) 本CPU运行了#个时间片
域统计数据 域统计数据
...@@ -146,8 +146,8 @@ domain<N> <cpumask> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 ...@@ -146,8 +146,8 @@ domain<N> <cpumask> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
schedstats还添加了一个新的/proc/<pid>/schedstat文件,来提供一些进程级的 schedstats还添加了一个新的/proc/<pid>/schedstat文件,来提供一些进程级的
相同信息。这个文件中,有三个字段与该进程相关: 相同信息。这个文件中,有三个字段与该进程相关:
1) 在CPU上运行花费的时间 1) 在CPU上运行花费的时间(单位是纳秒)
2) 在运行队列上等待的时间 2) 在运行队列上等待的时间(单位是纳秒)
3) 在CPU上运行了#个时间片 3) 在CPU上运行了#个时间片
可以很容易地编写一个程序,利用这些额外的字段来报告一个特定的进程或一组进程在 可以很容易地编写一个程序,利用这些额外的字段来报告一个特定的进程或一组进程在
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment