From: Hannes Mayer <h.mayer@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] 2.4.32 compilation error + old timer example problem
Date: Thu, 29 Dec 2005 19:22:47 +0100 [thread overview]
Message-ID: <43B42977.6050404@domain.hid> (raw)
In-Reply-To: <43B3C5D9.50802@domain.hid>
Philippe Gerum wrote:
[...]
>> Just one question: what's the reason why the periodic mode
>> is disabled by default ?
>>
>
> Because AFAICT, most people would rather use the aperiodic timing mode
> in usual configurations for a much better accuracy. Since the periodic
> mode uses the available hw PIT and programs it once (or even some
> decrementer but without handling the time drift when reprogramming it
> after each shot), it suffers from cumulated rounding errors of the
> period. If you look at the jitter results of a trivial periodic loop
> over a broad timescale, you will see the wakeup time irremediably drift,
> whilst the average interval between shots remains stable and reasonably
> accurate. The periodic timer should be used for configurations that only
> need to enforce delays or timeouts, and not, well, precise timings.
Thanks Philippe!
If it's for accuracy, keep it that way!
Best regards,
Hannes.
next prev parent reply other threads:[~2005-12-29 18:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-28 2:17 [Xenomai-core] 2.4.32 compilation error + old timer example problem Hannes Mayer
2005-12-28 11:38 ` Jan Kiszka
2005-12-28 21:29 ` Hannes Mayer
2005-12-28 22:12 ` Philippe Gerum
2005-12-28 22:18 ` Jan Kiszka
2005-12-28 23:23 ` Hannes Mayer
2005-12-29 11:17 ` Philippe Gerum
2005-12-29 18:22 ` Hannes Mayer [this message]
2005-12-28 22:20 ` Philippe Gerum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43B42977.6050404@domain.hid \
--to=h.mayer@domain.hid \
--cc=rpm@xenomai.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.