summaryrefslogtreecommitdiff
path: root/sys/kern/kern_time.c
AgeCommit message (Expand)Author
2014-12-07typo; fix from Kaspars BankovskisTheo de Raadt
2014-05-15Prefer prsignal() to send process signalsPhilip Guenther
2014-01-30Simplyfy adjtime(2) by keeping track of the adjustment as a number ofMark Kettenis
2014-01-22timeval, timespec, and itimerval have padding on many archs. If we'rePhilip Guenther
2013-10-25Move the declarations for dogetrusage(), itimerround(), and dowait4()Philip Guenther
2013-10-08Fix delivery of SIGPROF and SIGVTALRM to threaded processes by havingPhilip Guenther
2013-10-06Add CLOCK_UPTIME, a clock which measures time-running-not-suspended, soPhilip Guenther
2013-09-14Snapshots for all archs have been built, so remove the T32 codePhilip Guenther
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2013-06-17Add support for the _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME options,Philip Guenther
2013-06-03Convert some internal APIs to use timespecs instead of timevalsPhilip Guenther
2013-06-02Use long long and %lld for printing tv_sec valuesPhilip Guenther
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2012-11-05unifdef -D __HAVE_TIMECOUNTERMiod Vallat
2012-05-24On resume, run forward the monotonic and realtimes clocks instead of jumpingPhilip Guenthe
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
2012-03-19Add tracing and dumping of "pointer to struct" syscall arguments forPhilip Guenthe
2012-03-10Add PS_EXITING to better differentiate between the process exiting andPhilip Guenthe
2010-06-30lots of SCARG simplification. ok matthewTed Unangst
2010-06-28clock_gettime(CLOCK_PROF) didn't account for the time between the lastArtur Grabowski
2010-04-04clock_settime() should cancel an in-progress adjtime() just likePhilip Guenthe
2009-11-27Convert thrsleep() to an absolute timeout with clockid to eliminate aPhilip Guenthe
2009-10-16cancel the timeout upon disabling profiling / virtual timer; soMartynas Venckus
2009-06-05abort any time adjustment in progress if the clock is set with settimeofdayChris Kuethe
2008-09-19system/5918: fix clearing of ITIMER_VIRTUAL and ITIMER_PROF it_intervalDamien Miller
2008-04-04ratecheck(9) only seems to be used to limit things to very coarse intervalsDavid Gwynne
2008-01-02Do not lose nanosleep() return value in the last copyout if nonzero; PR#5697Miod Vallat
2007-04-04Implement clock_gettime(CLOCK_PROF) since it's so simple.Artur Grabowski
2007-01-10Fix getitimer to use uptime as setitimer does. Fixes bad output fromArtur Grabowski
2006-10-30Timecounter based implementation of adjfreq(2). Largely from art@Otto Moerbeek
2006-06-29Normalize the correction passed to adjtime(2) before using it in theMark Kettenis
2006-06-27Adapt adjtime() code and put in a better stub for adjfreq() for theOtto Moerbeek
2006-06-15Make sys_adjfreq() compile on archs that use timecountersJonathan Gray
2006-06-14Introducing adjfreq(2), to adjust the clock frequency.Otto Moerbeek
2006-06-04Allow any user to request the current adjustment; ok henning@ deraadt@Otto Moerbeek
2006-01-20revert auto-skew. some ntpd implementations interact poorly.Ted Unangst
2006-01-13auto adjusting adjtime. be more responsive to large clock deltas,Ted Unangst
2005-11-28ansi/deregister.Jonathan Gray
2005-10-27make sure ppsratecheck() returns 0 if maxpps is 0;Markus Friedl
2005-10-13In realitexpire(), do not re-add the itimer timeout if the process is inAaron Campbell
2005-10-10Avoid arithmetic overflows in computation of adjtime(). Fixes adjusting in theOtto Moerbeek
2005-05-31Protect p_timer with splclock. It can be fiddled with in hardclock (butArtur Grabowski
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-25This patch is mortly art's work and was done *a year* ago. Art wants to thankNiklas Hallqvist
2004-07-28This touches only MI code, and adds new time keeping code. TheThorsten Lockert
2004-06-26Don't sleep forever on short nanosleeps.Thomas Nordin
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-09Merge in a piece of the SMP branch into HEAD.Artur Grabowski