Date: Sun, 1 Feb 2004 14:15:44 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: Poul-Henning Kamp <phk@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 Message-ID: <20040201121544.GA58880@FreeBSD.org.ua> In-Reply-To: <200401311040.i0VAeQvs073701@repoman.freebsd.org> References: <200401311040.i0VAeQvs073701@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040201121544.GA58880>