CPU Time

What Does CPU Time Mean?

CPU time is the exact amount of time that the CPU has spent processing data for a specific program or process.

Advertisements

Programs and applications normally do not use the processor 100% of the time that they are running; some of that time is spent on I/O operations and fetching and storing data on the RAM or storage device. The CPU time is only when the program actually uses the CPU to perform tasks such as doing arithmetic and logic operations.

CPU time is also known as processing time.

Techopedia Explains CPU Time

CPU time is the measurement of the length of time that data is being worked on by the processor and is used as an indicator of how much processing is required for a process or how CPU intensive a process or program is.

Depending on the scenario of usage, 100% CPU time usage for a given period may be bad or good. It can be good if the goal was to use the CPU fully among programs, or bad as it may indicate that a process has been running in an endless loop or that a certain process is not optimized.

The CPU time required by programs and processes are often minuscule, fractions of a second, which is why a lot of programs can be running at the same time, but still get their turn on the CPU.

Each is granted a specific amount of time or time slice to access the CPU. For example, if a program accesses the CPU for one second every five seconds, then its total CPU time in the span of one minute is 12 seconds.

Advertisements

Related Terms

Margaret Rouse
Technology Expert

Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.