summaryrefslogtreecommitdiff
path: root/sys/kern/kern_clock.c
AgeCommit message (Expand)Author
2021-01-13kernel, sysctl(8): remove dead variable: tickadjcheloha
2020-01-21Import dt(4) a driver and framework for Dynamic Profiling.Martin Pieuchot
2019-11-02softclock: move softintr registration/scheduling into timeout modulecheloha
2019-08-02per-process itimers: itimerval -> itimerspeccheloha
2019-01-28Simplify by using `spc' since we already have it, no behavior change.Martin Pieuchot
2018-10-17Only the scheduler time statistics should be affected by spinning.Alexander Bluhm
2018-10-10User land time accounting has changed when kernel spinning time wasAlexander Bluhm
2018-06-04drop BUMPTIMEcheloha
2018-05-14Stopping counting and reporting CPU time spent spinning on a lock asMartin Pieuchot
2017-07-22Introduce jiffies, a volatile unsigned long version of our ticks variableMark Kettenis
2017-04-05clear structure on the stack before copying out for sysctl. At presentTheo de Raadt
2016-09-04Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernelMartin Pieuchot
2016-03-24set ticks 15 seconds before its value wraps.David Gwynne
2016-03-20Update ticks in hardclock().Masao Uebayashi
2015-06-11Move hzto(9) to the attic; OK dlgMike Belopuhov
2014-09-15Remove non-standard <sys/dkstat.h> header. It has not contained anythingMiod Vallat
2014-09-04Remove global cp_time[] array; no longer used now that all arches implementMiod Vallat
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
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