public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Does 2.6.26 provide nanosecond time to the user?
@ 2008-07-18  0:19 Reg Clemens
  2008-07-18  1:42 ` Måns Rullgård
  2008-07-18  3:46 ` Chris Friesen
  0 siblings, 2 replies; 6+ messages in thread
From: Reg Clemens @ 2008-07-18  0:19 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-01 14:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.cG/vRVVC+ZH1htzxsRnVF3NJVCc@ifi.uio.no>
2008-07-18  1:48 ` Does 2.6.26 provide nanosecond time to the user? Robert Hancock
2008-07-18  0:19 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox