Skip to content

Commit 4116ff7

Browse files
Yanteng SiJonathan Corbet
authored andcommitted
Docs/zh_CN: Update the translation of sched-stats to 5.19-rc8
Update to commit 6c757e9 ("docs/scheduler: fix unit error") ddb21d2 ("docs/scheduler: Change unit of cpu_time and rq_time to nanoseconds") Signed-off-by: Yanteng Si <siyanteng@loongson.cn> Reviewed-by: Wu XiangCheng <bobwxc@email.cn> Reviewed-by: Alex Shi <alexs@kernel.org> Link: https://lore.kernel.org/r/3cb1c4c466dfa38d72a867dc6e2c833ceb69ecb7.1658983157.git.siyanteng@loongson.cn Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent ce11200 commit 4116ff7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Documentation/translations/zh_CN/scheduler/sched-stats.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ cpu<N> 1 2 3 4 5 6 7 8 9
5757

5858
接下来的三个统计数据描述了调度延迟:
5959

60-
7) 本处理器运行任务的总时间,单位是jiffies
61-
8) 本处理器任务等待运行的时间,单位是jiffies
60+
7) 本处理器运行任务的总时间,单位是纳秒
61+
8) 本处理器任务等待运行的时间,单位是纳秒
6262
9) 本CPU运行了#个时间片
6363

6464
域统计数据
@@ -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
146146
schedstats还添加了一个新的/proc/<pid>/schedstat文件,来提供一些进程级的
147147
相同信息。这个文件中,有三个字段与该进程相关:
148148

149-
1) 在CPU上运行花费的时间
150-
2) 在运行队列上等待的时间
149+
1) 在CPU上运行花费的时间(单位是纳秒)
150+
2) 在运行队列上等待的时间(单位是纳秒)
151151
3) 在CPU上运行了#个时间片
152152

153153
可以很容易地编写一个程序,利用这些额外的字段来报告一个特定的进程或一组进程在

0 commit comments

Comments
 (0)