There are many methods to accomplish the task you have presented. The first an probably most used is gettimeofday. You have clock_gettime so you can select what time source you would like to reference. You also have Assessors for the RTC system. It all depends on what it is you would like to do. My advice is check out man 7 time.
Austin Morgan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Jakub Ladman Sent: Wednesday, October 11, 2006 9:43 AM To: [email protected] Subject: [gentoo-embedded] more than 1s precise time Hi there. Please excuse me my OT question. Please let me know how to get at least 0.1 second precise time. I do not need any relation with real time, it may be time from system start or vice versa. I need to store time to compare it with newer value in the future to detect timeouts. Can you help me? Jakub Ladman -- [email protected] mailing list -- [email protected] mailing list
