summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_clock.c
AgeCommit message (Expand)AuthorFilesLines
2020-01-21Import dt(4) a driver and framework for Dynamic Profiling.mpi1-1/+12
2019-11-02softclock: move softintr registration/scheduling into timeout modulecheloha1-12/+3
2019-08-02per-process itimers: itimerval -> itimerspeccheloha1-5/+5
2019-01-28Simplify by using `spc' since we already have it, no behavior change.mpi1-3/+2
2018-10-17Only the scheduler time statistics should be affected by spinning.bluhm1-9/+8
2018-10-10User land time accounting has changed when kernel spinning time wasbluhm1-3/+5
2018-06-04drop BUMPTIMEcheloha1-15/+1
2018-05-14Stopping counting and reporting CPU time spent spinning on a lock asmpi1-2/+5
2017-07-22Introduce jiffies, a volatile unsigned long version of our ticks variablekettenis1-1/+5
2017-04-05clear structure on the stack before copying out for sysctl. At presentderaadt1-1/+2
2016-09-04Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernelmpi1-4/+4
2016-03-24set ticks 15 seconds before its value wraps.dlg1-1/+3
2016-03-20Update ticks in hardclock().uebayasi1-1/+2
2015-06-11Move hzto(9) to the attic; OK dlgmikeb1-54/+1
2014-09-15Remove non-standard <sys/dkstat.h> header. It has not contained anythingmiod1-2/+1
2014-09-04Remove global cp_time[] array; no longer used now that all arches implementmiod1-3/+1
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hderaadt1-2/+1
2013-12-24rename local ticks to nticks to avoid aliasing global. ok krwtedu1-17/+17
2013-10-08Fix delivery of SIGPROF and SIGVTALRM to threaded processes by havingguenther1-37/+12
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataguenther1-2/+3
2013-04-24Add tstohz(9) as the timespec analog to tvtohz(9).matthew1-1/+19
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofderaadt1-2/+1
2013-03-12Fix kernel profiling on MP systems by using per-CPU buffers and teachmpi1-3/+3
2013-02-12Back out per-CPU kernel profiling, it shouldn't modify a public headermpi1-3/+3
2013-02-11Fix kernel profiling on MP systems by using per-CPU buffer. Previouslympi1-3/+3
2012-11-05unifdef -D __HAVE_TIMECOUNTERmiod1-147/+1
2012-08-02Apply profiling to all threads instead of just the thread that calledguenther1-10/+12
2012-05-24On resume, run forward the monotonic and realtimes clocks instead of jumpingguenther1-4/+1
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadguenther1-17/+12
2011-03-07The scheduling 'nice' value is per-process, not per-thread, so move itguenther1-2/+2
2010-08-20Change hzto(9) and tvtohz(9) arguments to const pointers.matthew1-3/+3
2010-01-14fix typos in comments, no code changes;schwarze1-2/+2
2009-11-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.kettenis1-23/+3
2009-01-21Pass the new pointer to sysctl_clockrate(), so that trying to change themiod1-3/+3
2008-10-04At clock initialization, if we discover that tickadj is 0 (due to veryderaadt1-1/+6
2008-03-15In statclock(), fix local index type in the profiling code. Avoidsmiod1-2/+2
2007-10-10Make context switching much more MI:art1-2/+2
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesart1-33/+9
2007-04-17Don't bother performing ITIMER accounting on P_SYSTEM processes (i.e. kthreads).miod1-2/+2
2007-03-25Garbage collect CPU_CLOCKUPDATE since it was only used by i386.art1-5/+1
2007-03-15Since p_flag is often manipulated in interrupts and without biglockart1-3/+3
2006-12-24If <machine/cpu.h> defines PROC_PC to compute the userland pc from an exceptionmiod1-1/+6
2006-06-14Introducing adjfreq(2), to adjust the clock frequency.otto1-1/+22
2006-01-20revert auto-skew. some ntpd implementations interact poorly.tedu1-3/+2
2006-01-13auto adjusting adjtime. be more responsive to large clock deltas,tedu1-2/+3
2006-01-03Make #undef match its temporary #define.miod1-2/+2
2005-11-28ansi/deregister.jsg1-14/+9
2005-10-25dont' -> don't in comments;jmc1-2/+2
2005-10-03In hardclock(), do not setup process virtual and profile timers if the processaaron1-2/+2
2004-11-10Diff from art@:grange1-2/+1