Date: Thu, 09 Jan 1997 00:02:15 -0500 From: "Louis A. Mamakos" <louie@TransSys.COM> To: Charles Henrich <henrich@crh.cl.msu.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: is time() valid in kernel? Message-ID: <199701090502.AAA08448@whizzo.transsys.com> In-Reply-To: Your message of "Wed, 08 Jan 1997 23:35:51 EST." <199701090435.XAA06374@crh.cl.msu.edu> References: <199701090435.XAA06374@crh.cl.msu.edu>
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. louie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701090502.AAA08448>