Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 19:53:46 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Thierry Herbelot <thierry@herbelot.com>
Cc:        arch@FreeBSD.ORG
Subject:   Re: get{bin,micro,nano}[up]time() - what precision ? 
Message-ID:  <55064.1018893226@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 15 Apr 2002 19:46:32 %2B0200." <3CBB11F8.451D28AB@herbelot.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <3CBB11F8.451D28AB@herbelot.com>, Thierry Herbelot writes:

>Thus, I would like to be able to read the local time at 2000Hz to (max)
>5000Hz, with the correlative precision. Thus, 1msec seems to be a little
>short on precision.

You will still have the full precision functions {bin,nano,micro}[up]time(),
but they are a tad slower to access.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55064.1018893226>