cvs commit: src/sys/kern kern_clock.c kern_time.c subr_param.c src/sys/sys kernel.h time.h

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Thu Apr 14 00:56:42 PDT 2005


joerg       2005/04/14 00:55:36 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_clock.c kern_time.c subr_param.c 
    sys/sys              kernel.h time.h 
  Log:
  Simplified NTP kernel interface:
  - kern.ntp.delta gives the delta to apply (ns)
  - kern.ntp.tick_delta is the correction applied in each tick (ns)
  - kern.ntp.default_tick_delta is the default correction for each tick (ns)
  - kern.ntp.big_delta is the threshold for kern.ntp.delta to use
    10x kern.ntp.default_tick_delta, not the normal value
  - kern.ntp.adjust can be used to change the current value of kern.ntp.delta
    relatively.
  - kern.ntp.next_leaf_second specifies the time_t of the next leaf second change,
    kern.ntp.insert_leaf_second != 0 means a leaf second is inserted, otherwise
    it is removed
  
  All ntp_* variables are manipulated on CPU #0 with the exception of
  set_timeofday. It just sets ntp_delta to 0, which is fine for the moment.
  
  Revision  Changes    Path
  1.32      +48 -10    src/sys/kern/kern_clock.c
  1.20      +111 -29   src/sys/kern/kern_time.c
  1.6       +2 -2      src/sys/kern/subr_param.c
  1.15      +0 -3      src/sys/sys/kernel.h
  1.14      +10 -0     src/sys/sys/time.h


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_clock.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_time.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_param.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/kernel.h.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/time.h.diff?r1=1.13&r2=1.14&f=u





More information about the Commits mailing list