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 couldnt 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?
Thanks
Robin
-------------------------------------------------------------------------
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