All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] strange periodic behavior
@ 2006-06-12 21:50 Brandt Erickson
  2006-06-13  6:24 ` Jan Kiszka
  0 siblings, 1 reply; 10+ messages in thread
From: Brandt Erickson @ 2006-06-12 21:50 UTC (permalink / raw)
  To: xenomai

Hey all,
I've been experimenting with writing a simple timer program using the
native API.  Basically, each loop, it writes the current timestamp into
shared memory which then gets read by a slower loop and written to disk. 
The weird thing is, the period I get seems to always be half of what I've
commanded.  That is, if I set the frequency to 1000 Hz, the difference
between each timestamp is a little over 2 ms (500 Hz).  It works the same
way for 10000 Hz and 20000 Hz.  Does anyone know what causes this or how
to fix it?  Thanks.
-Brandt



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

end of thread, other threads:[~2006-06-13 19:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-12 21:50 [Xenomai-help] strange periodic behavior Brandt Erickson
2006-06-13  6:24 ` Jan Kiszka
2006-06-13 15:18   ` Brandt Erickson
2006-06-13 15:50     ` Jan Kiszka
2006-06-13 16:33       ` Brandt Erickson
2006-06-13 16:37         ` Jan Kiszka
2006-06-13 16:49           ` Brandt Erickson
2006-06-13 17:00             ` Jan Kiszka
2006-06-13 17:02             ` Jan Kiszka
2006-06-13 19:53               ` Brandt Erickson

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.