Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
David van Moolenbroek 366d18b2b8 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-13 20:32:38 +01:00
bin
common
crypto
distrib Add MIB service, sysctl(2) support 2016-01-13 20:32:37 +01:00
docs
etc Add MIB service, sysctl(2) support 2016-01-13 20:32:37 +01:00
external
games
gnu
include
lib Add MIB service, sysctl(2) support 2016-01-13 20:32:37 +01:00
libexec
minix Kernel: per-state CPU accounting 2016-01-13 20:32:38 +01:00
releasetools Add MIB service, sysctl(2) support 2016-01-13 20:32:37 +01:00
sbin
share Integrate ASR instrumentation into build system 2016-01-13 20:32:34 +01:00
sys Add MIB service, sysctl(2) support 2016-01-13 20:32:37 +01:00
tests
tools
usr.bin
usr.sbin
.gitignore
.gitreview
build.sh
LICENSE
Makefile
Makefile.inc