>>>> 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?
Definitely not and I am not confident about this output. Coz in this loop
period I am sending datas from client to the server. Visibly noted that the
server is getting all the datas within a second. So I am not sure the 5 sec is
the right output. I just like to know all the above conversions are correct?
and is it ok that the start ticks can be more than the end ticks?
-Prakash
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help