All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] accuracy of system clock
@ 2007-11-19  9:29 Theo Veenker
  2007-11-19 15:25 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Theo Veenker @ 2007-11-19  9:29 UTC (permalink / raw)
  To: Xenomai

Hi all,

I'm using clock_gettime(REALTIME,&t) in a kernel module (posix skin) to
timestamp something. I know accessing this clock from user space yields
values different from those returned by the xenomai posix skin due to
ntpdate. But my concern is that the difference in pace is too much.
On one system it is about 90us/s wrong on another it is 160us/s.

I assume the speed of the ntp corrected clock is more or less correct.
Is there some calibration procedure I can run to tweak xenomai to make
sure in xenomai I get 1e9 ticks per *true* second?
I have enabled CONFIG_X86_UP_APIC.

Theo




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

end of thread, other threads:[~2007-11-19 20:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-19  9:29 [Xenomai-help] accuracy of system clock Theo Veenker
2007-11-19 15:25 ` Gilles Chanteperdrix
2007-11-19 15:46   ` Theo Veenker
2007-11-19 20:54     ` Gilles Chanteperdrix
2007-11-19 15:47   ` Jan Kiszka

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.