summaryrefslogtreecommitdiff
path: root/sys/kern/kern_tc.c
AgeCommit message (Collapse)Author
2010-09-24useless storeTheo de Raadt
2010-09-24move DEBUG-only variable into #ifdefTheo de Raadt
2010-04-20remove proc.h include from uvm_map.h. This has far reaching effects, asTed Unangst
sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed. ok deraadt
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
from Brad Tilley <brad at 16systems dot com>; ok oga@
2008-11-24queue tc randomness when we get it. the tc_init() ones are (might be)Theo de Raadt
submitted before randomattach, and thus will perturb the first arc4random() call, which is very good ok art djm
2008-11-21don't declare th0 extern before declaring it as static; makes gcc4 happyRobert Nagy
ok deraadt@
2007-12-27allow for max 5000 uses/sec offset adjust, this makes it possible forOtto Moerbeek
clocks with drifts larger than 500ppm to be corrected.
2007-05-09unused apis, very dangerous: getbinuptime() getbintime(), ok artTheo de Raadt
2007-03-31Add missing bintime2timespec().Mark Kettenis
ok art@
2006-11-15typos; from bret lambertJason McIntyre
2006-10-30Timecounter based implementation of adjfreq(2). Largely from art@Otto Moerbeek
Tested by various using not (yet) committed amd64 timecounter code. ok deraadt@
2005-05-03clean up some small fallout from initial freebsd import.Hans-Joerg Hoexer
ok grange@
2005-04-21unused variable n; ok cloderTheo de Raadt
2004-09-17Some cleanup:Alexander Yurchenko
- don't mix unsigned and u_int across the code - un'static some funcs ok art@
2004-08-04- Match time_second and time_uptime prototypes.Artur Grabowski
- Less chatty.
2004-07-28This touches only MI code, and adds new time keeping code. TheThorsten Lockert
code is all conditionalized on __HAVE_TIMECOUNTER, and not enabled on any platforms. adjtime(2) support exists, courtesy of nordin@, sysctl(2) support and a concept of quality for each time source attached exists. High quality time sources exists for PIIX4 ACPI timer as well as some AMD power management chips. This will have to be redone once we actually add ACPI support (at that time we need to use the ACPI interfaces to get at these clocks). ok art@ ken@ miod@ jmc@ and many more