diff options
author | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2008-03-16 03:07:04 +0000 |
---|---|---|
committer | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2008-03-16 03:07:04 +0000 |
commit | bdc20a302334a633dc1e0bdd045c37733556bd69 (patch) | |
tree | 6b345d49306045a9295abae9a6e5f4ad4c62882e /sys/dev/pci/pcidevs_data.h | |
parent | 98e82409d58c6167e604f1d2cf7b4d9c6c5e5baf (diff) |
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 'sys/dev/pci/pcidevs_data.h')
0 files changed, 0 insertions, 0 deletions