All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Johan Borkhuis <j.borkhuis@domain.hid>
Cc: Xenomai-help@domain.hid, Jan Kiszka <jan.kiszka@domain.hid>
Subject: Re: [Xenomai-help] Latency calculation and test
Date: Mon, 07 May 2007 14:30:55 +0200	[thread overview]
Message-ID: <463F1BFF.1010303@domain.hid> (raw)
In-Reply-To: <463EE376.9030702@domain.hid>

Johan Borkhuis wrote:
> void timeStampGet(clockid_t which_clock, struct timespec *curtime)
> {
>     unsigned long lo, hi, hi2;
>     unsigned long long tr;
>     long double tmpVal;
> 
>     if(hwtimer == 0)
>     {
>         clock_gettime(which_clock, curtime);

If you do not compile for Xenomai posix skin (i.e. passing
-Wl,--wrap,clock_gettime -lpthread_rt to gcc), this causes a switch to
secondary mode.

-- 
                                                 Gilles Chanteperdrix


  parent reply	other threads:[~2007-05-07 12:30 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 12:35 [Xenomai-help] Latency calculation and test Johan Borkhuis
2007-05-03 13:29 ` Philippe Gerum
2007-05-03 14:07   ` Gilles Chanteperdrix
2007-05-04  7:58   ` Johan Borkhuis
2007-05-04  9:17     ` Gilles Chanteperdrix
2007-05-04 12:32     ` Philippe Gerum
2007-05-04 12:43       ` Jan Kiszka
2007-05-07  6:51         ` Johan Borkhuis
2007-05-07  8:29         ` Johan Borkhuis
2007-05-07  8:58           ` Jan Kiszka
2007-05-07 11:58             ` Johan Borkhuis
2007-05-07 12:11               ` Jan Kiszka
2007-05-07 12:37                 ` Johan Borkhuis
2007-05-07 13:52                   ` Jan Kiszka
2007-05-08  6:57                     ` Johan Borkhuis
2007-05-09  7:17                       ` Jan Kiszka
2007-05-09  7:49                         ` Philippe Gerum
2007-05-07 12:30           ` Gilles Chanteperdrix [this message]
2007-05-07 13:21             ` Jan Kiszka
2007-05-03 13:42 ` Daniel Schnell
2007-05-03 14:54   ` Philippe Gerum
2007-05-03 15:07     ` Gilles Chanteperdrix
2007-05-03 15:43       ` Daniel Schnell
2007-05-03 18:42         ` Gilles Chanteperdrix
2007-05-03 18:47           ` Jan Kiszka
2007-05-04  6:51             ` Daniel Schnell
2007-05-03 16:11       ` Philippe Gerum
2007-05-03 16:44         ` Gilles Chanteperdrix
2007-05-03 17:17           ` Philippe Gerum
2007-05-03 17:26             ` Jan Kiszka
2007-05-04 12:46           ` Bill Gatliff
2007-05-04  8:04   ` Johan Borkhuis
2007-05-03 14:38 ` Gilles Chanteperdrix
2007-05-03 19:23   ` 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=463F1BFF.1010303@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=Xenomai-help@domain.hid \
    --cc=j.borkhuis@domain.hid \
    --cc=jan.kiszka@domain.hid \
    /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.