From owner-freebsd-questions Tue May 15 1:58: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id D4D2A37B423; Tue, 15 May 2001 01:57:59 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f4F8vdp31191; Tue, 15 May 2001 10:57:39 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: tlambert2@mindspring.com Cc: Matt Dillon , dave , freebsd-questions@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: Gettimeofday Again... In-Reply-To: Your message of "Tue, 15 May 2001 01:56:32 PDT." <3B00EF40.A1232B75@mindspring.com> Date: Tue, 15 May 2001 10:57:39 +0200 Message-ID: <31189.989917059@critter> From: Poul-Henning Kamp Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3B00EF40.A1232B75@mindspring.com>, Terry Lambert writes: >I think that perhaps you aren't doing high performance >server work, if you really think 17uS is "plenty fast enough". > >I have an application where gettimeofday() was a significant >fraction of the overhead; In that case change the kernel to use getmicrotime() instead of microtime(). -- 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-questions" in the body of the message