diff options
author | sam <sam@FreeBSD.org> | 2002-12-31 18:22:12 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2002-12-31 18:22:12 +0000 |
commit | edba43451786c581df1dd12ecf663a67cb2694e6 (patch) | |
tree | 4199710046cda2e6e9883c354b393d1aab021377 /sys/ddb/db_break.h | |
parent | 7057eb15ff1e91b11f7c3f310ca414b707263c1f (diff) | |
download | FreeBSD-src-edba43451786c581df1dd12ecf663a67cb2694e6.zip FreeBSD-src-edba43451786c581df1dd12ecf663a67cb2694e6.tar.gz |
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
Diffstat (limited to 'sys/ddb/db_break.h')
0 files changed, 0 insertions, 0 deletions