From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Re: [BUG] timerbench tests don't work with SVN
Date: Thu, 04 Jan 2007 16:21:43 +0100 [thread overview]
Message-ID: <1167924103.6722.43.camel@domain.hid> (raw)
In-Reply-To: <1167923768.6722.35.camel@domain.hid>
On Thu, 2007-01-04 at 16:16 +0100, Philippe Gerum wrote:
> On Thu, 2007-01-04 at 15:52 +0100, Jan Kiszka wrote:
> > Hi Philippe,
> >
> > likely a regression of latest timer base patches: with periodic support
> > enabled (haven't tested the off case yet), latency -t1/2 no longer work.
> > I have no time to look at this, so I just dump my report here. :)
> >
> > Jan
> >
> >
> > PS: Is there an official nucleus API to convert dates between timebases?
> > I'm asking because of the open question how to share RTDM drivers
> > between skins on different timer bases. Right now it looks to me like
> > RTDM is locked to one base (configured at compile or module load time)
> > and cannot be shared.
> >
>
> This is the same situation than before, except that now, RTDM can choose
> the timebase it is locked on. There is no conversion API right now, but
> we could define xntbase_convert(inbase, rtdm_base), with inbase being
> extracted from xnthread_timebase(xnpod_current_thread()) for primary
> context services. The question remains open on how to get the inbase
> pointer for seconday mode callers though.
>
Mm, silly me: xnthread_timebase(xnshadow_thread(current)) if the
argument is non-null, or we would force the master time base if current
is not a real-time shadow, IOW plain Linux tasks would always call -nrt
services with nanosecond based timeout and delays. So this should be a
no-brainer.
--
Philippe.
next prev parent reply other threads:[~2007-01-04 15:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-04 14:52 [Xenomai-core] [BUG] timerbench tests don't work with SVN Jan Kiszka
2007-01-04 15:16 ` [Xenomai-core] " Philippe Gerum
2007-01-04 15:21 ` Philippe Gerum [this message]
2007-01-04 15:17 ` Philippe Gerum
2007-01-05 10:17 ` 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=1167924103.6722.43.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=jan.kiszka@domain.hid \
--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.