Date: Thu, 29 Apr 2010 09:02:46 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_ntptime.c Message-ID: <201004290902.o3T92sHm078618@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
avg 2010-04-29 09:02:46 UTC FreeBSD src repository Modified files: sys/kern kern_ntptime.c Log: SVN rev 207360 on 2010-04-29 09:02:46Z by avg periodically save system time to hardware time-of-day clock This is done in kern_ntptime, perhaps not the best place. This is done using resettodr(). Some features: - make save period configurable via tunable and sysctl - period of zero disables saving, setting a non-zero period re-enables it or reschedules it - do saving only if system clock is ntp-synchronized - save on shutdown Discussed with: des, Peter Jeremy <peterjeremy@acm.org> X-Maybe: save time near seconds boundary for better precision MFC after: 2 weeks Revision Changes Path 1.67 +65 -0 src/sys/kern/kern_ntptime.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004290902.o3T92sHm078618>