Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 20:46:21 -0700 (PDT)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        dave <dleimbac@earthlink.net>
Cc:        freebsd-questions@FreeBSD.ORG, arch@FreeBSD.ORG
Subject:   Re: Gettimeofday Again...
Message-ID:  <200105150346.f4F3kLE45720@earth.backplane.com>
References:   <200105150337.UAA19677@gull.mail.pas.earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help

:
:Well I have been on the IRC in and out of mail list archives and cannot get
:a good answer to this question...
:
:Why does gettimeofday perform so poorly on FreeBSD vs the same hardware on
:Linux 2.4.2?

    Why should it matter?  gettimeofday() is not something that is typically
    called in a tight loop, it would be silly to optimize it.  17uS is
    plenty fast enough.

    Systems rarely have performance problems due to syscall overhead.

						-Matt

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?200105150346.f4F3kLE45720>