Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
David van Moolenbroek 781c14f778 Kernel: per-state CPU accounting
This functionality is required for BSD top(1), as exposed through
the CTL_KERN KERN_CP_TIME sysctl(2) call.  The idea is that the
overall time spent in the system is divided into five categories.
While NetBSD uses a separate category for the kernel ("system") and
interrupts, we redefine "system" to mean userspace system services
and "interrupts" to mean time spent in the kernel, thereby providing
the same categories as MINIX3's own top(1), while adding the "nice"
category which, like on NetBSD, is used for time spent by processes
with a priority lowered by the system administrator.

Change-Id: I2114148d1e07d9635055ceca7b163f337c53c43a
2016-01-01 01:28:17 +01:00
bin NetBSD re-synchronization of the source tree 2015-12-31 17:56:59 +01:00
common NetBSD re-synchronization of the source tree 2015-12-31 17:56:59 +01:00
crypto NetBSD re-synchronization of the source tree 2015-12-31 17:56:59 +01:00
distrib Add MIB service, sysctl(2) support 2016-01-01 01:28:16 +01:00
docs Add PTYFS, Unix98 pseudo terminal support 2015-06-23 17:43:46 +00:00
etc Add MIB service, sysctl(2) support 2016-01-01 01:28:16 +01:00
external NetBSD resynchronization fixes 2015-12-31 19:53:17 +01:00
games Fix weird flock uses 2016-01-01 01:28:04 +01:00
gnu NetBSD re-synchronization of the source tree 2015-12-31 17:56:59 +01:00
include NetBSD re-synchronization of the source tree 2015-12-31 17:56:59 +01:00
lib Add MIB service, sysctl(2) support 2016-01-01 01:28:16 +01:00
libexec NetBSD re-synchronization of the source tree 2015-12-31 17:56:59 +01:00
minix Kernel: per-state CPU accounting 2016-01-01 01:28:17 +01:00
releasetools Add MIB service, sysctl(2) support 2016-01-01 01:28:16 +01:00
sbin NetBSD re-synchronization of the source tree 2015-12-31 17:56:59 +01:00
share Integrate ASR instrumentation into build system 2016-01-01 01:28:14 +01:00
sys Add MIB service, sysctl(2) support 2016-01-01 01:28:16 +01:00
tests NetBSD re-synchronization of the source tree 2015-12-31 17:56:59 +01:00
tools NetBSD re-synchronization of the source tree 2015-12-31 17:56:59 +01:00
usr.bin NetBSD re-synchronization of the source tree 2015-12-31 17:56:59 +01:00
usr.sbin Fix weird flock uses 2016-01-01 01:28:04 +01:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview build:update 'git review' config to match gerrit.minix3.org 2014-07-28 17:05:15 +02:00
build.sh NetBSD re-synchronization of the source tree 2015-12-31 17:56:59 +01:00
LICENSE
Makefile NetBSD re-synchronization of the source tree 2015-12-31 17:56:59 +01:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00