Professional Documents
Culture Documents
UNIT-2 Performance Metrics and Measures
UNIT-2 Performance Metrics and Measures
And,
(Performance of A / Performance of B)
= (Execution Time of B / Execution Time of A)
(Performance of A / Performance of B)
= (Execution Time of B / Execution Time of A)
= 125 / 100 = 1.25
Since clock cycle time and clock rate are reciprocals, so,
Execution time = CPU clock
c cycles / clock rate
Which gives,
Execution time
= Instruction Count x CPI x clock cycle
cy time
= Instruction Count x CPI / clock rate