Question: A program is running on a specific machine (CPU) with the following parameters: Total executed instruction count = 10,000,000 instructions Average CPI for the program:
A program is running on a specific machine (CPU) with the following parameters:
Total executed instruction count = 10,000,000 instructions
Average CPI for the program: 2.5
CPU clock rate: 200 MHz.
a) Calculate the execution time for this program. Show your work (include all formulas and computations).
b) Calculate the speedup using the same program as in the previous example with the following changes. A new compiler is used and it results in a new value of 9,500,000 executed instruction count with a new CPI of 3.0 on a faster CPU with a clock rate of 300 MHz. Show your work (include all formulas and computations)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
