Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 13:21:55 -0800 (PST)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys time.h timetc.h src/sys/kern kern_ntptime.c kern_tc.c
Message-ID:  <200202072121.g17LLtc82112@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2002/02/07 13:21:55 PST

  Modified files:
    sys/sys              time.h timetc.h 
    sys/kern             kern_ntptime.c kern_tc.c 
  Log:
  Revise timercounters to use binary fixed point format internally.
  
  The binary format "bintime" is a 32.64 format, it will go to 64.64
  when time_t does.
  
  The bintime format is available to consumers of time in the kernel,
  and is preferable where timeintervals needs to be accumulated.
  
  This change simplifies much of the magic math inside the timecounters
  and improves the frequency and time precision by a couple of bits.
  
  I have not been able to measure a performance difference which was not
  a tiny fraction of the standard deviation on the measurements.
  
  Revision  Changes    Path
  1.41      +2 -2      src/sys/kern/kern_ntptime.c
  1.113     +60 -108   src/sys/kern/kern_tc.c
  1.48      +109 -1    src/sys/sys/time.h
  1.45      +2 -6      src/sys/sys/timetc.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202072121.g17LLtc82112>