Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 1997 00:04:25 -0500 (EST)
From:      Charles Henrich <henrich@crh.cl.msu.edu>
To:        louie@TransSys.COM (Louis A. Mamakos)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: is time() valid in kernel?
Message-ID:  <199701090504.AAA06512@crh.cl.msu.edu>
In-Reply-To: <199701090502.AAA08448@whizzo.transsys.com> from "Louis A. Mamakos" at "Jan 9, 97 00:02:15 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> I think that you want to use microtime() to capture the current time
> whilst timestamping events in the kernel.  There's some code that I
> submitted a while ago which timestamps messages queued to UDP sockets
> based on a socket option; take a look at /sys/netinet/udp_usrreq.c
> for the code.

Cool, thanks much!

-Crh

       Charles Henrich     Michigan State University     henrich@msu.edu

                         http://pilot.msu.edu/~henrich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701090504.AAA06512>