Question: Consider two computers, P1 and P2. Computer P1 has a clock rate of 2 Ghz and Computer P2 has a clock rate of 800 Mhz.
Consider two computers, P1 and P2. Computer P1 has a clock rate of 2 Ghz and Computer P2 has a clock rate of 800 Mhz. There are three classes of instructions (A, B and C) in the instruction set. The average number of cycles for each instruction class and their frequencies (for a typical program) are as follows Computer P2- cycles/instruction frequency class Computer P1- Instruction category cycles/instruction class 3 B 2 4 1 3 2 60% 15% 40% a) Calculate the average CPI for each machine P1 and P2 b) Find the clock cycles for each machine Pl and P2 Instruction count MIPS = Execution time X 106 c) Consider One alternative to time is MIPS (million instructions per second). For a given program, MIPS is simply Calculate the average MIPS rating for each computer A and B
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
