All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] xenomai 2.5 rc1 timing computations.
@ 2009-04-28  5:50 Gilles Chanteperdrix
  2009-04-28  5:52 ` Gilles Chanteperdrix
  2009-04-28 10:07 ` Philippe Gerum
  0 siblings, 2 replies; 8+ messages in thread
From: Gilles Chanteperdrix @ 2009-04-28  5:50 UTC (permalink / raw)
  To: Xenomai core


Hi,

currently, the situation is this:
- the timing core uses an approximate value of the cpu frequency (using
xnarch_llmulshft) to do conversions between tsc and ns;
- the APIC timer reprogrammation still uses imuldiv, that is a more
exact cpu frequency, coupled with an approximate APIC frequency
(obtained from ipipe_request_tickdev), to do the conversion between tsc
delays and APIC delays;
- the posix skin uses llimd to do conversions between timespec and
timeval structures and tsc values
- the posix and native skins in user-space still use llimd to do
conversions between ns and tsc (only if using tsc in user-space).

These are causes of unprecisions, I think we should fix this, though it
is unlikely to be the cause of the high jitters observed by Vikesh with
2.5-rc1.

Regards.

-- 
					    Gilles.


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

end of thread, other threads:[~2009-04-29  7:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28  5:50 [Xenomai-core] xenomai 2.5 rc1 timing computations Gilles Chanteperdrix
2009-04-28  5:52 ` Gilles Chanteperdrix
2009-04-28 10:07 ` Philippe Gerum
2009-04-28 12:21   ` Gilles Chanteperdrix
2009-04-28 13:41     ` Philippe Gerum
2009-04-28 13:45       ` Gilles Chanteperdrix
2009-04-28 14:00         ` Philippe Gerum
2009-04-29  7:52           ` Vikesh Rambaran

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.