[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YQFX+8+y9CUjgwB4@casper.infradead.org>
Date: Wed, 28 Jul 2021 14:13:31 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Shivank Garg <shivankgarg98@...il.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux MM <linux-mm@...ck.org>, util-linux@...r.kernel.org
Subject: Re: /proc/pid/sched units
On Wed, Jul 28, 2021 at 06:26:44PM +0530, Shivank Garg wrote:
> Hi Everyone,
>
> I'm analyzing the cpu time taken ("se.sum_exec_runtime" in
> /proc/$pid/sched) by process in different configurations for my
> project work. But I was not able to get the time units for the values
> displayed in the file. I tried searching it in source code -
> kernel/sched/cputime.c,include/linux/sched.h etc. but it left me more
> confused.
include/linux/sched/types.h: * @sum_exec_runtime: total time spent on the CPU, in nanoseconds
why did that leave you more confused?
Powered by blists - more mailing lists