Skip to content

CPI

CPU time

\[ \text{CPU time}=\text{CPU clock cycle}\times\text{Clock cycle time} \]

CPI (Cycles per instruction)

\[ \text{CPI}=\dfrac{\text{Total Cycles}}{\text{Total instructions}} \]

CPU time

\[ \text{CPU time}=\text{Instruction count}\times\text{CPI}\times\text{Clock cycle time} \]