Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: francis.giraldeau@usherbrooke.ca (Francis Giraldeau)
Subject: [ltt-dev] Time in trace passes too slowly
Date: Tue, 12 Apr 2011 18:05:34 -0400	[thread overview]
Message-ID: <1302645934.27040.42.camel@zhukov> (raw)

Hi, 

In a trace, the time difference between two timestamps doesn't match the
time it should have elapsed. For example, when measuring the duration of
"sleep 1" in the trace, 0.358s is obtained. The real duration of the
sleep is indeed 1 second. The error seems proportional to a constant
factor. 

I get this behavior on a 32 bits Ubuntu with 2.6.35-24-lttng from the
PPA. I'm running the same version of kernel but configured with 64 bits
and durations are correct. 

I put a sample trace here:

http://secretaire.dorsal.polymtl.ca/~fgiraldeau/sleep-1x-1sec.tar.gz

Seems a bug to me, or maybe I'm doing something wrong?

Cheer, 

Francis





             reply	other threads:[~2011-04-12 22:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12 22:05 Francis Giraldeau [this message]
2011-04-13 15:38 ` Mathieu Desnoyers
     [not found] ` <BLU0-SMTP705696D47DFABC88D7F84596AA0@phx.gbl>
2011-04-18 14:11   ` Francis Giraldeau

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=1302645934.27040.42.camel@zhukov \
    --to=francis.giraldeau@usherbrooke.ca \
    /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