CPU time


The amount of time the CPU is actually executing instructions. During the execution of most programs, the CPU sits idle much of the time while the computer fetches data from the keyboard or disk, or sends data to an output device. The CPU time of an executing program, therefore, is generally much less than the total execution time of the program. Multitasking operating systems take advantage of this by sharing the CPU among several programs.


CPU times are used for a variety of purposes: to compare the speed of two different processors, to gauge how CPU-intensive a program is, and to measure the amount of processing time being allocated to different programs in a multitasking environment.