Hello Yogi,
Looks to me like the test task is set up as periodic, and after doing a
little bit of number processing each time around, it yields the CPU for
other things to execute (i.e. other Xenomai tasks or the OS), and expects
to wake up again at the next delta T. The latency is then how much time
passed between the mark where the thread was targeted to start up again and
when it actually did start again.
The source is in src/testsuite/latency in the xenomai-2.6.3 tree, so you
can open that up and see for yourself as well! It looks fairly simple so I
think you can verify.

Steve

On Tue, Feb 17, 2015 at 6:58 AM, Yogi A. Patel <[email protected]> wrote:

> Hi -
>
> I am using the latency test provided with xenon on 2.6.3 and am curious
> what exactly the definition of “latency” is.
>
> Are the min, avg, and max values presented the time it took the thread to
> wake up, execute and go back to sleep or something else?
>
> Thanks!
>
> Yogi A. Patel
> @yapatel525 <https://twitter.com/yapatel525>
> _______________________________________________
> Xenomai mailing list
> [email protected]
> http://www.xenomai.org/mailman/listinfo/xenomai
>
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to