All of lore.kernel.org
 help / color / mirror / Atom feed
* Posix periodic time first tick
@ 2020-08-07 15:12 Petr Červenka
  2020-08-10  6:45 ` Per Oberg
  0 siblings, 1 reply; 6+ messages in thread
From: Petr Červenka @ 2020-08-07 15:12 UTC (permalink / raw)
  To: Xenomai

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>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-08-18 15:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-07 15:12 Posix periodic time first tick Petr Červenka
2020-08-10  6:45 ` 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

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.