aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/translations/zh_CN/scheduler/sched-stats.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/translations/zh_CN/scheduler/sched-stats.rst')
-rw-r--r--Documentation/translations/zh_CN/scheduler/sched-stats.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/translations/zh_CN/scheduler/sched-stats.rst b/Documentation/translations/zh_CN/scheduler/sched-stats.rst
index 1c68c3d1c283..c5e0be663837 100644
--- a/Documentation/translations/zh_CN/scheduler/sched-stats.rst
+++ b/Documentation/translations/zh_CN/scheduler/sched-stats.rst
@@ -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上运行了#个时间片
可以很容易地编写一个程序,利用这些额外的字段来报告一个特定的进程或一组进程在