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
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. (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? (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 CPIs of the programs? (be specific, with an equation)
Step by Step Solution
There are 3 Steps involved in it
This problem is related to computer architecture specifically calculating the execution time for pro... View full answer
Get step-by-step solutions from verified subject matter experts
