I've recently noticed that there is a 'Show Kernel Times' option in Windows XP's Task Manager under the 'Performance' tab. This shows up as a red meter over the green 'CPU Usage' meter. Exactly what is Kernel Times?
|
feedback
|
migrated from stackoverflow.com Jul 23 '09 at 6:34
This question came from our site for professional and enthusiast programmers.
|
Understanding User and Kernel Mode http://www.codinghorror.com/blog/archives/001029.html
| |||
|
feedback
|
|
Kernel time is the execution time of a process spent in the kernel. e.g. for networking, disk I/O or other kernel tasks. | |||
|
feedback
|
|
Most operating systems have a core component which always stays in memory, and performs core tasks such as interfacing between normal programs and the hardware (memory management, access to device drivers, task switching...). This part is generally referred to as the kernel. Everything else is referred to as user mode (roughly speaking). This includes the "rest" of the operating system (such as system services), and regular programs. The kernel generally has a lot more direct HW access, and in runs in a different CPU ring. Therefore its CPU time is counted seperately. This is why it is shown separately. | |||
|
feedback
|