From: Robert Hancock <hancockr@shaw.ca>
To: Reg Clemens <reg@dwf.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Does 2.6.26 provide nanosecond time to the user?
Date: Thu, 17 Jul 2008 19:48:43 -0600 [thread overview]
Message-ID: <487FF67B.2050801@shaw.ca> (raw)
In-Reply-To: <fa.cG/vRVVC+ZH1htzxsRnVF3NJVCc@ifi.uio.no>
Reg Clemens wrote:
> Im confused.
> (sorry I havent been following the linux-kernel mailing list on this)
>
> Does 2.6.26 use nanosecond time
> (1) internally?
> (2) provide it to the user?
>
> I see no way to turn it on/off in xconfig.
> Yet I do see STA_NANO defined in sys/timex.h which is a good start.
>
> and IF it provides it to the user, what do I use to get nanosecond time.
> My search with man -k for timespec turns up
> sys_clock_getres
> and sys_clock_gettime
>
> or possibly clock_getres and clock_gettime, the man pages use both,
> but NONE of these entry points seem to exist in my system.
>
> Puzzled.
clock_gettime should exist. Old glibc version?
next parent reply other threads:[~2008-07-18 1:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.cG/vRVVC+ZH1htzxsRnVF3NJVCc@ifi.uio.no>
2008-07-18 1:48 ` Robert Hancock [this message]
2008-07-18 0:19 Does 2.6.26 provide nanosecond time to the user? Reg Clemens
2008-07-18 1:42 ` Måns Rullgård
2008-07-18 2:19 ` Reg Clemens
2008-08-01 14:11 ` Christoph Lameter
2008-07-18 3:46 ` Chris Friesen
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=487FF67B.2050801@shaw.ca \
--to=hancockr@shaw.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=reg@dwf.com \
/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