Question: There is the following program: Program Instruction mix Instructions of Type 1 : 2 0 % Instructions of Type 2 : 5 0 % Instructions

There is the following program:
Program
Instruction mix
Instructions of Type 1: 20%
Instructions of Type 2: 50%
Instructions of Type 3: 30%
Dynamic instruction count
2*109 instructions
And the following computer:
Computer
Cycles per instruction
Instruction of Type 1: 1 cycles/instr
Instruction of Type 2: 2 cycles/instr
Instruction of Type 3: 3 cycles/instr
Frequency
2.5 GHz
Questions:
What is the average CPI of the given program on the given computer?
How fast (in seconds) the program will execute?
Show the whole solution process, not just the answer (no solution =0 points). Don't forget to use measurement units. Assume that the program runs without any interruptions.
Good luck!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!