FreeBSD src
Go to file
bde e21a571c79 Estimate an initial overhead of 0 usec instead of 20 usec in DELAY().
I have code to calibrate the overhead fairly accurately, but there
is little point in using it since it is most accurate on machines
where an estimate of 0 works well.  On slow machines, the accuracy
of DELAY() has a large variance since it is limited by the resolution
of getit() even if the initial delay is calibrated perfectly.

Use fixed point and long longs to speed up scaling in DELAY().
The old method slowed down a lot when the frequency became variable.
Assume the default frequency for short delays so that the fixed
point calculation can be exact.

Fast scaling is only important for small delays.  Scaling is done
after looking at the counter and outside the loop, so it doesn't
decrease accuracy or resolution provided it completes before the
delay is up.  The comment in the code is still confused about this.
1997-01-29 22:51:44 +00:00
bin Sweep through the tree fixing mmap() usage: 1997-01-16 21:58:40 +00:00
contrib Everyone's favorite: finally bump vi's escapetime. 1997-01-17 23:10:58 +00:00
eBones Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
etc Use shifts instead of multiplications and |' instead of +' to simplify 1997-01-27 06:24:10 +00:00
games Correct some grammar. Closes PR# 2520. 1997-01-26 05:07:58 +00:00
gnu Use xmalloc instead of malloc in two places, so that out-of-memory 1997-01-24 00:07:03 +00:00
include Change to comment for fs_passno to reflect that it applies 1997-01-28 06:11:45 +00:00
lib Fix typo .->, for default separators in login_getcaplist(). 1997-01-29 06:50:00 +00:00
libexec Oops, fix white space in last commit. 1997-01-28 07:09:05 +00:00
lkm Upgrade the kbdio rutines to provide queued kbd & mouse events. 1997-01-15 18:16:32 +00:00
release Allow user to delete as well as install packages from the package 1997-01-29 22:35:05 +00:00
sbin Some various mdoc cleanup. 1997-01-28 05:55:22 +00:00
secure Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00
share More fixes and an update to the ZIP section. 1997-01-29 15:02:05 +00:00
sys Estimate an initial overhead of 0 usec instead of 20 usec in DELAY(). 1997-01-29 22:51:44 +00:00
tools Clean up some of the tortured english in this file. 1997-01-21 12:36:01 +00:00
usr.bin The option "fstype" does not handle the argument "msdos" correctly. 1997-01-28 13:18:46 +00:00
usr.sbin Allow user to delete as well as install packages from the package 1997-01-29 22:35:05 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile Add uudecode to lib-tools so that the -p option is available for 1997-01-21 13:12:10 +00:00
README Make the long-awaited change from $Id$ to $FreeBSD$ 1997-01-14 07:20:47 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel.  Please see the top of the Makefile for more information on
the standard build targets and compile-time flags.

Building a kernel with config(8) is a somewhat more involved process,
documentation for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

eBones		Kerberos package - NOT FOR EXPORT!

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

lib		System libraries.

libexec		System daemons.

lkm		Loadable Kernel Modules.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		DES and DES-related utilities - NOT FOR EXPORT!

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html