Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: compudj@krystal.dyndns.org (Mathieu Desnoyers)
Subject: [ltt-dev] LTTV questions
Date: Thu, 26 Feb 2009 16:40:44 -0500	[thread overview]
Message-ID: <20090226214044.GB20856@Krystal> (raw)
In-Reply-To: <66E4AD309580E34AA457975F33D2A7473F8DB46C2B@IRVEXCHCCR01.corp.ad.broadcom.com>

* Ashwin Tanugula (ashwin.tanugula at broadcom.com) wrote:
> Hi,
> 
> Can somebody please answer these questions.
> 
> 1. I see the following statistics listed for process with PID 3905
> 
> Statistic for  '3905-257.288103298' :
> 
> cpu time :           0.114179414
> events count :  2091
> elapsed time (includes per process waiting time) :           8.745760749
> cumulative cpu time (includes nested routines and modes) :           1.669448492
> 
> Shouldn't the cumulative cpu time be greater than the sum of cpu time and elapsed time.
> 
> Can somebody explain what these values mean.
> 

elapsed time and (especially) cumulative cpu time are parts of LTTV that
would need to be reviewed. But about your comment, elapsed time counts
the per process waiting time (scheduled out), which is not part of
neither cpu time nor cumulative cpu time. Therefore it's normal that
elapsed time is bigger, because it includes the time during which the
process has been scheduled out.

> 2.  I see the Birth Sec for init to be 257 on my trace data ( I probably started the trace at 256th sec)
> 
> Can somebody tell me what the Birth sec for each process means here.
> 

The time at which the process has been first active (either created or
scheduled for the first time) since the startup of the machine.

It helps differenciating between PIDs which are re-used over time.

Mathieu

> Thanks,
> Ashwin
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68




      reply	other threads:[~2009-02-26 21:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24  0:04 Ashwin Tanugula
2009-02-26 21:40 ` Mathieu Desnoyers [this message]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20090226214044.GB20856@Krystal \
    --to=compudj@krystal.dyndns.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox