From: Steve Graegert <graegerts@gmail.com>
To: "Ronaldo.Afonso@cyclades.com" <Ronaldo.Afonso@cyclades.com>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: Nanoseconds precision
Date: Thu, 25 Aug 2005 14:40:46 +0200 [thread overview]
Message-ID: <6a00c8d505082505406cec57eb@mail.gmail.com> (raw)
In-Reply-To: <OF521F2662.0BD8AB88-ON83257068.0043C29B-83257068.00448E01@Cyclades.com>
On 8/25/05, Ronaldo.Afonso@cyclades.com <Ronaldo.Afonso@cyclades.com> wrote:
>
> Hello all,
>
> I need to get nanosecond's precision from the time of my system. I've
> analyzing the code of the "date command" and it seems it really doesn't
> show me nanosecond's precision, what it, in fact, does is just multiply by
> 1000 a microsecond's precison number that it gets from a system call. Does
> anybody know how I can really get a nanosecond's precision from my system?
librt contains time-related functions with nanosecond precision. To
see what inside try this:
$ nm /lib/librt.so.1 | grep clock_
I am sure, there is something of use for you.
Regards
\Steve
--
Steve Graegert <graegerts@gmail.com>
Software Consultancy {C/C++ && Java && .NET}
Mobile: +49 (176) 21248869
Office: +49 (9131) 7126409
next prev parent reply other threads:[~2005-08-25 12:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-25 12:28 Nanoseconds precision Ronaldo.Afonso
2005-08-25 12:40 ` Steve Graegert [this message]
2005-08-25 13:20 ` Ronaldo.Afonso
2005-08-25 13:37 ` Steve Graegert
2005-08-25 13:41 ` Håkon Hallingstad
2005-08-25 13:45 ` Steve Graegert
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=6a00c8d505082505406cec57eb@mail.gmail.com \
--to=graegerts@gmail.com \
--cc=Ronaldo.Afonso@cyclades.com \
--cc=linux-c-programming@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.