Gentoo Archives: gentoo-embedded

From: KIMURA Masaru / hiyuh <hiyuh.root@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] more than 1s precise time
Date: Thu, 12 Oct 2006 03:23:39
Message-Id: 8a58bc760610112022o7f90cea8l830988fb8a318a99@mail.gmail.com
In Reply to: [gentoo-embedded] more than 1s precise time by Jakub Ladman
Hi,

2006/10/11, Jakub Ladman <ladmanj@×××××.cz>:
> 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.
[SNIP] I like select(2) for non-realtime timeout functionalities. See also, "man 2 select" and "man 2 select_tut". -- gentoo-embedded@g.o mailing list