From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jeff Weber <jwamsc@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] CLOCK_REALTIME synchronized to NTP
Date: Thu, 31 Mar 2011 00:40:20 +0200 [thread overview]
Message-ID: <4D93B154.7030806@domain.hid> (raw)
In-Reply-To: <4D93AC71.7040700@domain.hid>
Gilles Chanteperdrix wrote:
> Jeff Weber wrote:
>> On Wed, Mar 30, 2011 at 5:00 PM, Gilles Chanteperdrix <
>> gilles.chanteperdrix@xenomai.org> wrote:
>>
>>> Jeff Weber wrote:
>>>> On Wed, Mar 23, 2011 at 2:37 AM, Gilles Chanteperdrix <
>>>> gilles.chanteperdrix@xenomai.org> wrote:
>>>>
>>>>> Jeff Weber wrote:
>>>>>> I need to timetag events from a realtime context with a
>>> NPT-synchronized
>>>>>> system clock. This topic comes up periodically on the mailing list.
>>>>> Last I
>>>>>> recall, there was talk of adding the capability via an alternate
>>>>>> (non-CLOCK_REALTIME) clock_id. What is the status of this topic?
>>>>> The CLOCK_HOST_REALTIME is available in the xenomai-head branch (to be
>>>>> 2.6 branch, soon). It requires modifications of the I-pipe patch which
>>>>> are available, at least, on x86, but are probably not really hard to
>>>>> implement on other platforms.
>>>>>
>>>> clock_gettime(CLOCK_HOST_REALTIME) fails when called from kernel, and
>>> from
>>>> clocktest. Any ideas why?
>>>> Does the CLOCK_HOST_REALTIME need to be initialized in some way?
>>>> Test and config follow.
>
> It definitely works here with clocktest. I get, for instance:
... and it definitely does not work with a 32 bits kernel.
--
Gilles.
next prev parent reply other threads:[~2011-03-30 22:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-23 0:59 [Xenomai-help] CLOCK_REALTIME synchronized to NTP Jeff Weber
2011-03-23 7:34 ` Jan Kiszka
2011-03-23 7:37 ` Gilles Chanteperdrix
2011-03-30 21:56 ` Jeff Weber
2011-03-30 22:00 ` Gilles Chanteperdrix
2011-03-30 22:05 ` Jeff Weber
2011-03-30 22:19 ` Gilles Chanteperdrix
2011-03-30 22:40 ` Gilles Chanteperdrix [this message]
2011-03-30 23:19 ` Gilles Chanteperdrix
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=4D93B154.7030806@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=jwamsc@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.