summaryrefslogtreecommitdiff
path: root/sys/kern/kern_clock.c
AgeCommit message (Expand)Author
2013-12-24rename local ticks to nticks to avoid aliasing global. ok krwTed Unangst
2013-10-08Fix delivery of SIGPROF and SIGVTALRM to threaded processes by havingPhilip Guenther
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2013-04-24Add tstohz(9) as the timespec analog to tvtohz(9).Matthew Dempsky
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2013-03-12Fix kernel profiling on MP systems by using per-CPU buffers and teachMartin Pieuchot
2013-02-12Back out per-CPU kernel profiling, it shouldn't modify a public headerMartin Pieuchot
2013-02-11Fix kernel profiling on MP systems by using per-CPU buffer. PreviouslyMartin Pieuchot
2012-11-05unifdef -D __HAVE_TIMECOUNTERMiod Vallat
2012-08-02Apply profiling to all threads instead of just the thread that calledPhilip Guenthe
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
2011-03-07The scheduling 'nice' value is per-process, not per-thread, so move itPhilip Guenthe
2010-08-20Change hzto(9) and tvtohz(9) arguments to const pointers.Matthew Dempsky
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
2009-11-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.Mark Kettenis
2009-01-21Pass the new pointer to sysctl_clockrate(), so that trying to change theMiod Vallat
2008-10-04At clock initialization, if we discover that tickadj is 0 (due to veryTheo de Raadt
2008-03-15In statclock(), fix local index type in the profiling code. AvoidsMiod Vallat
2007-10-10Make context switching much more MI:Artur Grabowski
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesArtur Grabowski
2007-04-17Don't bother performing ITIMER accounting on P_SYSTEM processes (i.e. kthreads).Miod Vallat
2007-03-25Garbage collect CPU_CLOCKUPDATE since it was only used by i386.Artur Grabowski
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
2006-12-24If <machine/cpu.h> defines PROC_PC to compute the userland pc from an exceptionMiod Vallat
2006-06-14Introducing adjfreq(2), to adjust the clock frequency.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
2006-01-03Make #undef match its temporary #define.Miod Vallat
2005-11-28ansi/deregister.Jonathan Gray
2005-10-25dont' -> don't in comments;Jason McIntyre
2005-10-03In hardclock(), do not setup process virtual and profile timers if the processAaron Campbell
2004-11-10Diff from art@:Alexander Yurchenko
2004-09-15Typo in #endif comment.Alexander Yurchenko
2004-08-05Fix typos. Found by Dries SchellekensArtur Grabowski
2004-08-04hardclock detects if ITIMER_VIRTUAL and ITIMER_PROF have expired andArtur Grabowski
2004-08-04Even when we have timecounters we still have to do the check for secondaryArtur Grabowski
2004-07-28This touches only MI code, and adds new time keeping code. TheThorsten Lockert
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
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-13Force "struct timeval time" variable to be aligned to an 8-bit boundary.Miod Vallat
2002-09-24Restore pentium_microtime, testing by henning@, millert@. ok deraadt@Thomas Nordin
2002-07-06Remove kernel support for NTP. ok deraadt@ and tholo@Thomas Nordin
2002-07-03Change all variables definitions (int foo) in sys/sys/*.h to variableMiod Vallat
2002-06-07Change addupc_intr to not use fuswintr and suswintr to update the profilingArtur Grabowski
2002-06-07Simplify so that we can remove CLKF_BASEPRI() and spllowersoftclock()Thomas Nordin
2002-04-24Introduce a new file, machine/internal_types.h, to hold that specific archMarc Espie