mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Reg Clemens <reg@dwf.com>
To: linux-kernel@vger.kernel.org
Subject: Does 2.6.26 provide nanosecond time to the user?
Date: Thu, 17 Jul 2008 18:19:02 -0600	[thread overview]
Message-ID: <200807180019.m6I0J2kG026240@deneb.dwf.com> (raw)

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.


-- 
                                        Reg.Clemens
                                        reg@dwf.com



             reply	other threads:[~2008-07-18  1:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18  0:19 Reg Clemens [this message]
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
     [not found] <fa.cG/vRVVC+ZH1htzxsRnVF3NJVCc@ifi.uio.no>
2008-07-18  1:48 ` Robert Hancock

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=200807180019.m6I0J2kG026240@deneb.dwf.com \
    --to=reg@dwf.com \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®