Re: [PATCH 8/8] Docs/zh_CN: Update the translation of sched-stats to 5.19-rc8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Alex Shi <alexs@xxxxxxxxxx>

On 7/25/22 17:24, Yanteng Si wrote:
> 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@xxxxxxxxxxx>
> ---
>  .../translations/zh_CN/scheduler/sched-stats.rst          | 8 ++++----
>  1 file 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上运行了#个时间片
>  
>  可以很容易地编写一个程序,利用这些额外的字段来报告一个特定的进程或一组进程在



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux