All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Regarding timer services.
@ 2011-08-08 12:55 suresh reddy
  2011-08-08 14:14 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: suresh reddy @ 2011-08-08 12:55 UTC (permalink / raw)
  To: Xenomai help

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

Dear all,

Iam using native skin of xenomai . Iam trying to test some of the services
of xenomai native skin with my Hardware (pandaboard).

i have two threads namely t1 and t2 .

1. t1 sends a message to t2 using messeage que

2. t2 receives message and runs it executions .

3. t2 executing is completed it sends a message to t1 that iam completed.

4. t1 receives message .

i would like know the time taken between t1 sends and t1 receives message.

For this test do i need to synchronise the xenomai timer with my hardware
timer

or is it otherway around?

[-- Attachment #2: Type: text/html, Size: 1200 bytes --]

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

* Re: [Xenomai-help] Regarding timer services.
  2011-08-08 12:55 [Xenomai-help] Regarding timer services suresh reddy
@ 2011-08-08 14:14 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2011-08-08 14:14 UTC (permalink / raw)
  To: suresh reddy; +Cc: Xenomai help

On 08/08/2011 02:55 PM, suresh reddy wrote:
> Dear all,
> 
> Iam using native skin of xenomai . Iam trying to test some of the services
> of xenomai native skin with my Hardware (pandaboard).
> 
> i have two threads namely t1 and t2 .
> 
> 1. t1 sends a message to t2 using messeage que
> 
> 2. t2 receives message and runs it executions .
> 
> 3. t2 executing is completed it sends a message to t1 that iam completed.
> 
> 4. t1 receives message .
> 
> i would like know the time taken between t1 sends and t1 receives message.
> 
> For this test do i need to synchronise the xenomai timer with my hardware
> timer
> 
> or is it otherway around?

You can use rt_timer_tsc. For a documentation of the native API, see:
http://www.xenomai.org/documentation/xenomai-2.5/html/api/group__native.html
-- 
					    Gilles.


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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-08 12:55 [Xenomai-help] Regarding timer services suresh reddy
2011-08-08 14:14 ` 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.