cvs commit: src/sys/kern uipc_socket.c src/sys/netinet
ip_input.c udp_usrreq.c src/sys/sys socket.h
Ruslan Ermilov
ru at FreeBSD.org
Sun Feb 1 04:15:06 PST 2004
On Sat, Jan 31, 2004 at 02:40:26AM -0800, Poul-Henning Kamp wrote:
> phk 2004/01/31 02:40:25 PST
>
> FreeBSD src repository
>
> Modified files:
> sys/kern uipc_socket.c
> sys/netinet ip_input.c udp_usrreq.c
> sys/sys socket.h
> Log:
> Introduce the SO_BINTIME option which takes a high-resolution timestamp
> at packet arrival.
>
> 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.
>
> This introduces an extra test and a function call for SO_TIMEVAL, but I have
> not been able to measure that.
>
> 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
>
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,
--
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040201/ebcec534/attachment-0001.bin
More information about the cvs-src
mailing list