On 08/12/2010 05:38 PM, asprakash_83 wrote:
> 
>>> printf(TOTAL LOOP TIMING=%ld us\n", 
>>> (long)((rt_timer_ticks2ns(end-start))/1000);
> 
>> What does:
> 
>> printf(TOTAL LOOP TIMING=%lld us\n", rt_timer_ticks2ns(end-start)/1000);
> 
>> report.
> 
> TOTAL LOOP TIMING = 5377070 us 
> In this case, the (unsigned) (long) (long)tart returns 1069623206
> and (unsigned) (long) (long)end returns 2151726697

Are you happy with that result? Did really pass approx. 5 seconds
between start and end?

Wolfgang.

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

Reply via email to