Assignment 2 - Computer Performance
Assignment 2 - Computer Performance
a) Determine the effective CPI, MIPS rate, and execution time for each
machine.
b) Comment on the results.
4. Four benchmark programs are executed on three computers with the
following results:
The table shows the execution time in seconds, with 100,000,000 instructions
executed in each of the four programs. Calculate the MIPS values for each
computer for each program.
5. A program has 10% divide instructions. All non-divide instructions take one
cycle. All divide instructions take 50 cycles.
a) What is the CPI of this program on this processor?
b) What percent of time is spent just doing divides?
STUDENT NAME:
SOLUTION