All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Petr Červenka" <grugh@centrum.cz>
To: Xenomai <xenomai@xenomai.org>
Subject: Posix periodic time first tick
Date: Fri, 07 Aug 2020 17:12:20 +0200	[thread overview]
Message-ID: <20200807171220.E090CB18@centrum.cz> (raw)

Hello.
I have created small example of periodic task in posix.
If I compile it without xenomai it works fine.
When I add Xenomai linking flags, the first tick of periodic task take around 16s. After that it continues as it should.
Used clock type for timer_fd is CLOCK_MONOTONIC. The example should in attachment.
Do you have any suggestions?
Best regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timer_test.cpp
Type: text/x-c++src
Size: 4351 bytes
Desc: timer_test.cpp
URL: <http://xenomai.org/pipermail/xenomai/attachments/20200807/d4203f59/attachment.cpp>

             reply	other threads:[~2020-08-07 15:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-07 15:12 Petr Červenka [this message]
2020-08-10  6:45 ` Posix periodic time first tick Per Oberg
2020-08-10  7:52   ` Petr Červenka
2020-08-10  8:54     ` Per Oberg
2020-08-10  9:49     ` Philippe Gerum
2020-08-18 15:21       ` Petr Červenka

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=20200807171220.E090CB18@centrum.cz \
    --to=grugh@centrum.cz \
    --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.