K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-29T09:02:46.309257Z K 7 svn:log V 527 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 X-Maybe: save time near seconds boundary for better precision MFC after: 2 weeks END