public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: "Rob Donovan" <rob@proivrc.com>
Cc: <systemtap@sourceware.org>
Subject: Re: gettimeofday_ns accuracy
Date: Sat, 07 Aug 2010 21:53:00 -0000	[thread overview]
Message-ID: <y0miq3m84yo.fsf@fche.csb> (raw)
In-Reply-To: <010601cb3652$4c05ae50$e4110af0$@proivrc.com> (Rob Donovan's message of "Sat, 7 Aug 2010 18:02:18 +0100")

"Rob Donovan" <rob@proivrc.com> writes:

> Is there any other kind of time measure other than gettimeofday_ns()?

There is also get_cycles() after the epolymous kernel function.

> Since gettimeofday_ns is not that accurate, and has the possibility
> (and does) sometimes go backwards in time.

Can you describe your system (CPU models, kernel versions) a little
more?  We may be able to use/expose other time sources too, or help
you write the bit of code that would do so.

- FChE

  reply	other threads:[~2010-08-07 21:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-07 17:02 Rob Donovan
2010-08-07 21:53 ` Frank Ch. Eigler [this message]
2010-09-03  8:56   ` Rob Donovan
2010-09-03 16:58     ` Steve Fink
2010-09-05 16:46       ` Rob Donovan
2010-10-01 12:44 Rob Donovan

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=y0miq3m84yo.fsf@fche.csb \
    --to=fche@redhat.com \
    --cc=rob@proivrc.com \
    --cc=systemtap@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).