From owner-freebsd-hackers@FreeBSD.ORG Fri May 16 00:03:44 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38FB137B401 for ; Fri, 16 May 2003 00:03:44 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6769043F3F for ; Fri, 16 May 2003 00:03:40 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id C32773ABB51; Fri, 16 May 2003 09:07:32 +0200 (CEST) Date: Fri, 16 May 2003 09:07:32 +0200 From: Pawel Jakub Dawidek To: Terry Lambert Message-ID: <20030516070732.GT45118@garage.freebsd.pl> References: <20030515123033.GP45118@garage.freebsd.pl> <20030515151945.GQ45118@garage.freebsd.pl> <200305151407.28717.wes@softweyr.com> <3EC481D3.124F61B8@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="pKcXSmZjwG4L4EfY" Content-Disposition: inline In-Reply-To: <3EC481D3.124F61B8@mindspring.com> X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i cc: freebsd-hackers@freebsd.org Subject: Re: Optimizations. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 07:03:44 -0000 --pKcXSmZjwG4L4EfY Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 15, 2003 at 11:14:43PM -0700, Terry Lambert wrote: +> What about "gettimeofday()"? There are a number of applications, +> particularly HTTP protocol applications, with strict timestamp +> logging requirements, mandated by standards. The tend to call +> gettimeofday() up to six times per transaction. Examples will +> include HTTP proxies, L7 load balancers, and proxy caches. Any +> box competing in the Cisco CSS/F5 falls into this category. That's right:) Look at functions in /sys/kern/kern_tc.c. There are so many little functions. How about put __inline here and there? And second thing. Does anybody think about representing time in BCD code? --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --pKcXSmZjwG4L4EfY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPsSOND/PhmMH/Mf1AQFf/AP+LRn0a9p6fI9+bGF7q7zhYc2eUTGDp1YH SN1SlanTY+HsciAx6iGqvwXZnJV5UX3VS1myaDl1aO70CrTI3dhC3GYSERvapzCN Y9tzN+z6dIEq37xTKDexG9ckp+4PMQ/hnYEBu64X8x4EbZzzsqTuWbvQFmm+gLWp 4wKDOKPbzEk= =IFk0 -----END PGP SIGNATURE----- --pKcXSmZjwG4L4EfY--