From owner-freebsd-arch Mon Apr 15 10:53:57 2002 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 556E337B41D for ; Mon, 15 Apr 2002 10:53:52 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g3FHrkYu055065; Mon, 15 Apr 2002 19:53:46 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Thierry Herbelot Cc: arch@FreeBSD.ORG Subject: Re: get{bin,micro,nano}[up]time() - what precision ? In-Reply-To: Your message of "Mon, 15 Apr 2002 19:46:32 +0200." <3CBB11F8.451D28AB@herbelot.com> Date: Mon, 15 Apr 2002 19:53:46 +0200 Message-ID: <55064.1018893226@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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