Question: (20 points) Let's consider that we have a processor with a 2 GHz clock. It takes 3 clock cycles to execute 25%, 2 clock cycles

(20 points) Let's consider that we have a processor with a 2 GHz clock. It takes 3 clock cycles to execute 25%, 2 clock cycles to execute 35%, and 1 clock cycle to execute the rest of the instructions of a program. a. What is the average CPI? (10 points) b. If the program has half a million instructions, how long does it take to execute the program? (10 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
