All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Query with rtdm_clock_read
@ 2015-08-14 15:30 ashwin damle
  2015-08-14 16:29 ` Philippe Gerum
  0 siblings, 1 reply; 3+ messages in thread
From: ashwin damle @ 2015-08-14 15:30 UTC (permalink / raw)
  To: Xenomai

Hi,

I got Xenomai 3.0-rc4 working.

I wish to measure time between execution of two functions using
rtdm_clock_read.in a real time thread.

Pseudo code is like below.
.....
start = rtdm_clock_read();

foo0();
foo1();

stop = rtdm_clock_read();

execution_time= stop - start;
.....

Since rtdm_clock_read is still valid in Xenomai3, I plan to use the same.
However, I cannot find the API. I am surely missing something. I searched
.h files in include/rtdm however, I cannot locate it.

Just wanted to know if I am moving in the right direction intending to use
rtdm_clock_read or should I use other.

Please let me know.

-- 
Ashwin M. Damle

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

end of thread, other threads:[~2015-08-14 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-14 15:30 [Xenomai] Query with rtdm_clock_read ashwin damle
2015-08-14 16:29 ` Philippe Gerum
2015-08-14 16:38   ` ashwin damle

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.