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 from the keyboard or disk,or sends data to an output device.The CPU  time of an executing program,therefore,is generally much less then 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 purpose: 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.

No comments:

Post a Comment