OSDN Git Service

Docs/zh_CN: Update the translation of sched-stats to 5.19-rc8
authorYanteng Si <siyanteng@loongson.cn>
Thu, 28 Jul 2022 05:08:43 +0000 (13:08 +0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 28 Jul 2022 15:37:25 +0000 (09:37 -0600)
Update to commit 6c757e9f55f0 ("docs/scheduler:
fix unit error")

ddb21d27a6a5 ("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>
Documentation/translations/zh_CN/scheduler/sched-stats.rst

index 1c68c3d..c5e0be6 100644 (file)
@@ -57,8 +57,8 @@ cpu<N> 1 2 3 4 5 6 7 8 9
 
 接下来的三个统计数据描述了调度延迟:
 
-     7) 本处理器运行任务的总时间,单位是jiffies
-     8) 本处理器任务等待运行的时间,单位是jiffies
+     7) 本处理器运行任务的总时间,单位是纳秒
+     8) 本处理器任务等待运行的时间,单位是纳秒
      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
 schedstats还添加了一个新的/proc/<pid>/schedstat文件,来提供一些进程级的
 相同信息。这个文件中,有三个字段与该进程相关:
 
-     1) 在CPU上运行花费的时间
-     2) 在运行队列上等待的时间
+     1) 在CPU上运行花费的时间(单位是纳秒)
+     2) 在运行队列上等待的时间(单位是纳秒)
      3) 在CPU上运行了#个时间片
 
 可以很容易地编写一个程序,利用这些额外的字段来报告一个特定的进程或一组进程在