Question: For this problem, assume that two different programs are run on the same computer with a 2GHz clock frequency. Program A has 1e9 instructions and

For this problem, assume that two different programs are run on the same computer with a 2GHz clock frequency. Program A has 1e9 instructions and an average CPI of 1, and program B has and 2e9 instructions and an average CPI of 0.8. a. (5 points) How long would you expect each program to run? b. (10 points) How much faster would you expect Program A to be with respect to Program B? c. (10 points) After re-compiling both programs with a different compiler, both programs are found to have the same execution time. What does this imply about the new instructions and CPls of the programs? (be specific, with an equation)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
