archive mirror
 help / color / mirror / Atom feed
From: Shivank Garg <>
To: Linux Kernel Mailing List <>,
	Linux MM <>,
Subject: /proc/pid/sched units
Date: Wed, 28 Jul 2021 18:26:44 +0530	[thread overview]
Message-ID: <> (raw)

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

Can you please answer me about the measurement units (is it
microseconds, nanoseconds, jiffles ...) ?

Also, I was not able to find proper documentation for /proc/pid/sched.
Please point to me if it's already there. If not, I would love to
contribute toward documenting these variables. It would be very
helpful for newbies (like me) in future.

Best Regards,
Shivank Garg

             reply	other threads:[~2021-07-28 12:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-28 12:56 Shivank Garg [this message]
2021-07-28 13:13 ` Matthew Wilcox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \ \ \
    --subject='Re: /proc/pid/sched units' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).