Robin Walser wrote: > Hello, > > > > I have written a little program based on frag-ip. Now, I need a timestamp in > nanoseconds. > > I have found the two functions rt_timer_read and rt_timer_ticks2ns. > > > > Is this a correct timestamp? uint64_t timer = > rt_timer_ticks2ns(rt_timer_read()); > > Or I must use SRTIME? I couldn’t find something about SRTIME and RTIME. How > are they defined? > > > > How I can convert this timestamp in hours, minutes, seconds? > > It is possible to subtract two timestamps to obtain a difference between > these two timestamps? >
Did you already have a look at the Xenomai native API documentation? http://www.xenomai.org/index.php/API_documentation If RTnet-independent questions remain, you may push them directly to the xenomai-help list to gain broader (and currently also faster) feedback. Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users