Question: There are five classes of instructions ( A , B , C , D and E ) in the instruction set. The processor has a
There are five classes of instructions A B C D and E in the instruction set. The processor has a clock rate of GHz The following table shows the CPI and the percentage of instructions executed by each class for a given program.
a Compute the average CPI.
b If billion instructions were executed, what is the execution time in seconds?
c What percent of the execution time is used by each class of instructions?
d When you run the program, it takes seconds to complete. What percentage of time the program is running on the CPU, and the percentage of time it is waiting?
e A newer processor reduces the CPI of class D instructions to just cycle and of class E to just cycles. It uses a faster GHz clock. What is the new average CPI and the speedup of running the program on the newer processor?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
