Question: Consider Processor A which has an average CPI of 5.0 for a specific program and a clock speed of 2GHz. a. If a code segment,
Consider Processor A which has an average CPI of 5.0 for a specific program and a clock speed of 2GHz.
a. If a code segment, S, takes 15 seconds to run, how many instructions are in S?
b. Suppose we were able to optimize 40% of instructions in S by a factor of 2, what is the speedup from the optimization for segment S?
c. With the changes in 6(b), can we compute the overall average CPI of the processor? If YES, please state why and calculate the new CPI. If NO, please state why not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
