On Thu, Nov 26, 2015 at 11:32:57AM +0100, [email protected] wrote:
> Hello,
>  
> in my xenomai 2.6.3 application I sporadically experience very long execution 
> times of
> a task that switches back and forth between secondary and primary mode.
>  
> I added the following code to measure elapsed and cpu time
> //------------- start code snippet ---------------
> struct rusage rsgT1;
> struct rusage rsgT2;
> struct timeval tvT1;
> struct timeval tvT2;
> gettimeofday(&tvT1, NULL);

Do you observe the same problem with Xenomai 2.6 git head, if you
use clock_gettime(CLOCK_HOST_REALTIME) instead of gettimeofday, at
least for threads running in primary mode ? 

-- 
                                            Gilles.
https://click-hack.org

_______________________________________________
Xenomai mailing list
[email protected]
http://xenomai.org/mailman/listinfo/xenomai

Reply via email to