All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Julien Delange <julien.delange@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Kernel configuration suggestions/hints
Date: Tue, 04 Oct 2011 18:41:40 +0200	[thread overview]
Message-ID: <4E8B3744.2030407@domain.hid> (raw)
In-Reply-To: <CAGc_wL2wb76-t7RBWJnKxgcvsrcKgnFgV4qkjvUgh5AvM7ie3g@domain.hid>

On 10/04/2011 03:51 PM, Julien Delange wrote:
> On Tue, Oct 4, 2011 at 9:45 AM, Gilles Chanteperdrix
> <gilles.chanteperdrix@xenomai.org> wrote:
>> Your "rate" looks more like a period to me (that is, the reciprocal).
> 
> Yes, exactly.
> 
>> 1000000000.0 * 0.0001 is 100000, that is 100us, not 1ms. As of why you
>> get 2ms (or 200us, maybe ?) is still a mystery. Could you send us your
>> kernel configuration?
> 
> My bad, the value of rate is 0.001, this is due to a copy/paste error.
> Also, I attach the kernel configuration as requested.
> 
>> Are not the analogy calls blocking?
> 
> I think so but on the other hand, I don't think it would take so much
> time : performing the command list would take less than 1ms (I hope
> so).

Another mail in that thread seem to suggest that it could be long. Have
you tried timing the various parts of your loop to see where the time is
spent?

-- 
					    Gilles.


  reply	other threads:[~2011-10-04 16:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-04  8:42 [Xenomai-help] Kernel configuration suggestions/hints Julien Delange
2011-10-04 11:16 ` Gilles Chanteperdrix
2011-10-04 13:06   ` Julien Delange
2011-10-04 13:40     ` Fernando Herrero Carrón
2011-10-04 13:45     ` Gilles Chanteperdrix
2011-10-04 13:51       ` Julien Delange
2011-10-04 16:41         ` Gilles Chanteperdrix [this message]
2011-10-05  7:48           ` Julien Delange
2011-10-05 11:09             ` Gilles Chanteperdrix
2011-10-05 14:39               ` Fernando Herrero Carrón
2011-10-05 21:28                 ` Alexis Berlemont
2011-10-05 22:55                   ` Fernando Herrero Carrón
2011-10-06  7:25                     ` Julien Delange

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=4E8B3744.2030407@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=julien.delange@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.