614 A program is run on a computer with the following parame
[6.14] A program is run on a computer with the following parameters: Clock cycle time 10 ns Instructions with 1 cycle 70% Instructions with 2 cycles 20% Instructions with 3 cycles 10% What is the MIPS rating of this computer? (Hint: First calculate CPI)
A)14
B)1.4
C)71.4
D)54
Solution
Answer :
Calculate CPI :
.................
Clocks per Instruction(CPI)=(70/100)*1 + (20/100)*2 + (10/100)*3=0.7+0.4+0.3=1.4
MIPS
.........
MIPS rating=Clock Rate/(CPI * 10^6)
=100 * 10^6 / (1.4 * 10^6)
=71.4
Answer : C)71.4
![[6.14] A program is run on a computer with the following parameters: Clock cycle time 10 ns Instructions with 1 cycle 70% Instructions with 2 cycles 20% Instruc [6.14] A program is run on a computer with the following parameters: Clock cycle time 10 ns Instructions with 1 cycle 70% Instructions with 2 cycles 20% Instruc](/WebImages/28/614-a-program-is-run-on-a-computer-with-the-following-parame-1075849-1761564248-0.webp)
