cvs commit: src/usr.sbin/dntpd client.c client.h defs.h main.c

看板DFBSD_commit作者時間21年前 (2005/04/25 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
dillon 2005/04/24 16:09:32 PDT DragonFly src repository Modified files: usr.sbin/dntpd client.c client.h defs.h main.c Log: Implement a variable polling rate capability. Implement a polling state which runs through a fast-startup to get a rough offset correction, a medium-polled acquisition mode to get a rough frequency correction, and a long-polled maintainance mode (assuming the time source is good enough) to get a fine frequency correction. startup mode: 6 five-second polls acquisition mode: 16 five-minute polls maintainance mode: 30 minute polls (if the correllation is good enough) Implement a short failure mode (3 failed polls in a row) which returns to an aquisition state on recovery, and a long failure mode (10 failed polls in a row) which returns to a startup state on recovery. When resetting a regression, also remove any alternate regression further on down the alt chain (since they won't be staggered any more). Revision Changes Path 1.5 +191 -9 src/usr.sbin/dntpd/client.c 1.4 +28 -6 src/usr.sbin/dntpd/client.h 1.4 +3 -1 src/usr.sbin/dntpd/defs.h 1.3 +26 -25 src/usr.sbin/dntpd/main.c http://www.dragonflybsd.org/cvsweb/src/usr.sbin/dntpd/client.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/dntpd/client.h.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/dntpd/defs.h.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/dntpd/main.c.diff?r1=1.2&r2=1.3&f=u
文章代碼(AID): #12R2nt00 (DFBSD_commit)
文章代碼(AID): #12R2nt00 (DFBSD_commit)