From owner-cvs-src@FreeBSD.ORG Sun Feb 1 04:15:06 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37B8516A4CF; Sun, 1 Feb 2004 04:15:06 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABD9343D1D; Sun, 1 Feb 2004 04:15:02 -0800 (PST) (envelope-from ru@FreeBSD.org.ua) Received: from phantom.cris.net (ru@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i11CFjem059387; Sun, 1 Feb 2004 14:15:45 +0200 (EET) (envelope-from ru@FreeBSD.org.ua) Received: (from ru@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i11CFiX7059386; Sun, 1 Feb 2004 14:15:44 +0200 (EET) (envelope-from ru) Date: Sun, 1 Feb 2004 14:15:44 +0200 From: Ruslan Ermilov To: Poul-Henning Kamp Message-ID: <20040201121544.GA58880@FreeBSD.org.ua> References: <200401311040.i0VAeQvs073701@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <200401311040.i0VAeQvs073701@repoman.freebsd.org> User-Agent: Mutt/1.5.5.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern uipc_socket.c src/sys/netinet ip_input.c udp_usrreq.c src/sys/sys socket.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2004 12:15:06 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 31, 2004 at 02:40:26AM -0800, Poul-Henning Kamp wrote: > phk 2004/01/31 02:40:25 PST >=20 > FreeBSD src repository >=20 > Modified files: > sys/kern uipc_socket.c=20 > sys/netinet ip_input.c udp_usrreq.c=20 > sys/sys socket.h=20 > Log: > Introduce the SO_BINTIME option which takes a high-resolution timestamp > at packet arrival. > =20 > For benchmarking purposes SO_BINTIME is preferable to SO_TIMEVAL > since it has higher resolution and lower overhead. Simultaneous > use of the two options is possible and they will return consistent > timestamps. > =20 > This introduces an extra test and a function call for SO_TIMEVAL, but I= have > not been able to measure that. > =20 > Revision Changes Path > 1.161 +2 -0 src/sys/kern/uipc_socket.c > 1.260 +18 -7 src/sys/netinet/ip_input.c > 1.145 +1 -1 src/sys/netinet/udp_usrreq.c > 1.75 +2 -0 src/sys/sys/socket.h >=20 Did you mean SO_TIMESTAMP? Also, could you please document both SO_TIMESTAMP and SO_BINTIME in the setsockopt(3) manpage -- a raw non-marked up text would also be appreciated. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAHO3wUkv4P6juNwoRAmMWAJ4/ZOrS8/vamGlTRDenDyiQRxe4NACeO9dt Wf3m5Ri6qfKNX78AOJj1+pY= =Ud2y -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--