All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Get current wallclock time from RT task
@ 2012-02-03 20:07 Patrick Doyle
  2012-02-03 21:22 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Doyle @ 2012-02-03 20:07 UTC (permalink / raw)
  To: xenomai

What is the easiest way to determine the current wallclock time from
within an RT task?

I see that I can call rt_timer_inquire() and get back an RT_TIMER_INFO
structure containing an RTIME type field labeled "date" and a very
promising comment "Current wallclock time".

But how do I convert that to e.g. something I could pass to ctime() to
get something reasonably close to the current wallclock time?

--wpd


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

end of thread, other threads:[~2012-02-03 21:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03 20:07 [Xenomai-help] Get current wallclock time from RT task Patrick Doyle
2012-02-03 21:22 ` Gilles Chanteperdrix
     [not found]   ` <CAF_dkJB+NeaX5QK=xHhNU7Oe0TYM8im_XFwzym22UxJBJ2KWrA@mail.gmail.com>
2012-02-03 21:39     ` Gilles Chanteperdrix

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.