All of lore.kernel.org
 help / color / mirror / Atom feed
* CLOCK_REALTIME_RES and nanosecond resolution
@ 2005-11-08  2:55 Benjamin Herrenschmidt
  2005-11-08  4:16 ` Steven Rostedt
  2005-11-08  9:34 ` Thomas Gleixner
  0 siblings, 2 replies; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2005-11-08  2:55 UTC (permalink / raw)
  To: Linux Kernel list

Hi !

I noticed that we set

#define CLOCK_REALTIME_RES TICK_NSEC  /* In nano seconds. */

Unconditionally in kernel/posix-timer.c

Doesn't that mean that we'll advertise to userland (via clock_getres) a
resolution that is basically HZ ? We do get at lenght to get more
precise (up to ns) resolution in practice on many architectures but we
don't expose that to userland at all. Is this normal ?

Ben.



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

end of thread, other threads:[~2005-11-08 12:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-08  2:55 CLOCK_REALTIME_RES and nanosecond resolution Benjamin Herrenschmidt
2005-11-08  4:16 ` Steven Rostedt
2005-11-08  9:34 ` Thomas Gleixner
2005-11-08  9:45   ` Benjamin Herrenschmidt
2005-11-08 12:56     ` Roman Zippel

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.