All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Xenomai 2.5-rc2 clock_gettime bad tv_nsec value
@ 2009-08-04 13:23 Steve
  2009-08-07  6:08 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 11+ messages in thread
From: Steve @ 2009-08-04 13:23 UTC (permalink / raw)
  To: xenomai

Hi,

Using Xenomai 2.5-rc2 on Linux 2.6.29.4 the following code
periodically produces a bad result:

clock_gettime(CLOCK_REALTIME, timespec);

Where it assigns a timespec.tv_nsec that is greater than 1000 million.
 If it helps the maximum returned value that i have seen before tv_sec
increments and tv_nsec returns to a 'safe' value is 1048044075.

This does not happen using Xenomai 2.4.8 on the same Linux kernel.
There are some differences between the kernel config files used for my
2.4.8 setup and 2.5-rc2 setup, but I don't imagine that that is the
problem.

Any thoughts?

Steve


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

end of thread, other threads:[~2009-08-26 15:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04 13:23 [Xenomai-help] Xenomai 2.5-rc2 clock_gettime bad tv_nsec value Steve
2009-08-07  6:08 ` Gilles Chanteperdrix
2009-08-19  8:27   ` Steve
2009-08-19  8:40     ` Gilles Chanteperdrix
2009-08-19  9:29       ` Steve
2009-08-19  9:37         ` Gilles Chanteperdrix
2009-08-19  9:46           ` Steve
2009-08-19 12:42             ` Gilles Chanteperdrix
2009-08-20 10:45             ` Gilles Chanteperdrix
2009-08-26 15:18               ` Steve
2009-08-26 15:24                 ` Gilles Chanteperdrix

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.