Computer Science

CPU Performance Equation

Estimate program execution time.

CPU Time = IC × CPI × Clock Cycle Time

Formula Explanation

Instruction count, cycles per instruction and clock speed determine performance.

Variables Explained

IC = instruction count; CPI = cycles per instruction.

Solved Example

IC=500, CPI=2, Clock=2 GHz. CPU time?
500 × 2 × 0.5 ns = 500 ns.

Exam Tip

Higher clock frequency means smaller cycle time.