On 08/25/2011 11:25 AM, suresh reddy wrote:
> Dear Giles,

It is Gilles.

> 
> 1. taking timing results using rt_timer-tsc on pandaboard for a test program
> using xenomai native services.
> 
> 2. taking timing results using gettimeofday on pandaboard for same test
> program using linuxthreads.
> 
> 
> Can i compare these two timing results ?

your system is likely using nptl, not linuxthreads. And clock_gettime
instead of gettimeofday will give you precision down to the nanosecond,
like rt_timer_tsc2ns.

But yes, you can compare the results, if you bear in mind that real-time
is about worst case latencies, so results obtained by running tests for
a few seconds or minutes on an idle machine are meaningless.

Also note that since Xenomai has a posix api, you can have the exact
same code running with and without xenomai.

-- 
                                                                Gilles.

_______________________________________________
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help

Reply via email to