Date: Tue, 31 Dec 2002 10:22:12 -0800 (PST) From: Sam Leffler <sam@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_time.c Message-ID: <200212311822.gBVIMCNe013763@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2002/12/31 10:22:12 PST
Modified files:
sys/kern kern_time.c
Log:
o reduce the overhead of calling ppsratecheck by using ticks instead of
calling getmicrouptime (but maintain the struct timeval-based calling
convention for compatibility)
o eliminate the use of timersub in ratecheck
Note that flood ping tests indicate ppsratecheck is inaccurate (but on the
conservative side) with this revised implementation. If more accuracy is
needed we'll have to introduce an alternate interface or increase the
overhead.
Reviewed by: silby, dillon, bde
Revision Changes Path
1.91 +24 -55 src/sys/kern/kern_time.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212311822.gBVIMCNe013763>
