Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

cycles per instruction

The average number of clock cycles a processor spends on each instruction of a program; lower is better.

Cycles per instruction (CPI) is total clock cycles divided by instructions executed for a given program on a given processor; it depends on the microarchitecture and on the program (its mix of instructions, branches and memory waits).

Examples

  • 1,000 instructions that take 1,500 cycles have a CPI of 1.5.

Read the full section →