diff options
author | 2008-03-16 03:07:03 +0000 | |
---|---|---|
committer | 2008-03-16 03:07:03 +0000 | |
commit | 4f20a19d9cb4a5216c2672da33012f3f9906e18e (patch) | |
tree | e0a8f65e0b49c861a27d2bdab4ff90404e17b6df /lib | |
parent | implement the hrSWRun portion of the HOST-RESOURCES mib. you can see whats (diff) | |
download | wireguard-openbsd-4f20a19d9cb4a5216c2672da33012f3f9906e18e.tar.xz wireguard-openbsd-4f20a19d9cb4a5216c2672da33012f3f9906e18e.zip |
Reduce the number of unnecessary time(3)/gettimeofday(2) calls, and make sure
that the time always goes forward, so reports are neither duplicated nor lost.
Report state changes stabilised through dampening immediately, instead of delay-
ing them until the next reporting window; previously, it was common for check()
to lag one second behind report(), hence the initial report was delayed one
extra minute (this then reduces the number of sleep(3)/nanosleep(2) calls, too).
ok ckuethe; some man-page suggestions jmc
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions