summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-10-27 12:22:42 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-10-27 12:22:42 +0000
commit8e5eefbcf96d76671659d38bf825aa70ba2c0533 (patch)
tree01c6b88c7c904fc0034beda0f7b1d9d2a1e84b09 /sys
parent48c2cd8e159c1ac5fe694663c6cda325b4537771 (diff)
use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasing
time, and make ntpd use that to send the next uery to an ntp peer and the like. this has the advantage that changes to the clock do not interfere with the intervals. for example, when we start on machines without an RTC and the initial settime (-s) kicks in, intervals were strange. idea from amandal@entrisphere.com, this implementation by me tested ckuethe, phessler, mbalmer, ok mbalmer
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions