Relating Metrics
Execution time is defined by instructions and their execution time
CPU execution time = CPU clock cycles ? cycle time
Equivalently, CPU exectuion time = CPU clock cycles/clock rate
Relating execution time to instruction execution:
CPI = (Average) clock cycles per instruction
>> Basic Formula of Computer Architecture <<
CPU time = Instruction count x CPI x cycle time
Equivalently, CPU time = Instruction count x CPI ------------------------------
These equations relate three fundamental quantities