Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2001 10:57:39 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        tlambert2@mindspring.com
Cc:        Matt Dillon <dillon@earth.backplane.com>, dave <dleimbac@earthlink.net>, freebsd-questions@FreeBSD.ORG, arch@FreeBSD.ORG
Subject:   Re: Gettimeofday Again... 
Message-ID:  <31189.989917059@critter>
In-Reply-To: Your message of "Tue, 15 May 2001 01:56:32 PDT." <3B00EF40.A1232B75@mindspring.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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