From: Jan Kiszka <jan.kiszka@domain.hid>
To: rpm@xenomai.org
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [PATCH-STACK] Synchronised timebases and more
Date: Thu, 21 Jun 2007 11:21:02 +0200 [thread overview]
Message-ID: <467A42FE.1090305@domain.hid> (raw)
In-Reply-To: <1182416810.9709.38.camel@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 2365 bytes --]
Philippe Gerum wrote:
> On Thu, 2007-06-21 at 09:58 +0200, Jan Kiszka wrote:
>> Philippe Gerum wrote:
>>> If you think of it, decoupling only requires to keep a constant epoch
>>> (at least one the nucleus does not update) somewhere within the timebase struct,
>>> the user code could wire to some value when it sees fit (e.g. pSOSish tm_set(),
>> I know. It should be simple.
>>
>>> or VRTX's sc_stime() and so on). Obtaining a so-called constant-based time would have
>>> then to be available through an additional method, returning constant_epoch + delta,
>>> whatever delta means wrt aperiodic/periodic behaviour. The point here is that we
>>> would just shift the constant epoch - decorrelated from system time - from default
>>> xntbase_get_time() behaviour to something which should be explicitly requested
>>> through a new specialized timebase method if needed.
>> Well, that's precisely the set of new conversion functions I'm a bit
>> afraid of. But as it now comes with the "special case", not the default
>> one, I would be fine with it.
>>
>
> Indeed, it's really about shifting the default behaviour to synchronized
> timebases. There is not much harm to expect from using specialized
> services to get a constant-based timebase anyway, since only skin
> developers would need that, and those people ought to know what they are
> doing.
Nope, it's a user thing: The user has to convert timestamps from one
skin (e.g. an RTDM device) into his own or vice versa. That makes it so
critical.
>
>>> IOW, introducing synchronized timebases is not the issue, making timebase
>>> synchronization the default behaviour is what has some importance here.
>> I predict it will save all of us from headache, at least from more
>> headache than with the other way around. :)
>>
>
> Ok, let's go for it, the changes are easily identifiable. I guess that
> is something we could not postpone to 2.5 anyway. I want to merge this
> asap now, because I don't want to delay -rc1 anymore, and the merge
> window is almost closed.
>
> Actual uses of this feature - e.g. POSIX resync - should go into -rc2,
> unless they are (almost) ready for merge right now.
>
Do you already have an idea about the "decoupling API"? Or should we
postpone this to -rc2 as well? Same for resync as a generic xntbase feature.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2007-06-21 9:21 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-18 7:52 [Xenomai-core] [PATCH-STACK] Synchronised timebases and more Jan Kiszka
2007-06-18 8:27 ` Jan Kiszka
2007-06-20 16:42 ` Philippe Gerum
2007-06-20 17:08 ` Jan Kiszka
2007-06-20 22:29 ` Philippe Gerum
2007-06-21 7:58 ` Jan Kiszka
2007-06-21 9:06 ` Philippe Gerum
2007-06-21 9:17 ` Philippe Gerum
2007-06-21 9:21 ` Jan Kiszka [this message]
2007-06-21 9:39 ` Philippe Gerum
2007-06-21 18:10 ` Gilles Chanteperdrix
2007-06-20 17:53 ` Gilles Chanteperdrix
2007-06-20 18:02 ` Gilles Chanteperdrix
2007-06-20 18:52 ` Jan Kiszka
2007-06-20 20:58 ` Gilles Chanteperdrix
2007-06-20 21:57 ` Jan Kiszka
2007-06-20 22:40 ` Philippe Gerum
2007-06-20 22:45 ` 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=467A42FE.1090305@domain.hid \
--to=jan.kiszka@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.