Question: 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
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. 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: Instruction category P2- frequency Computer cycles/instruction class 3 2 4 P1- Computer cycles/instruction class 1 3 2 A B 55% 20% 35% a) Calculate the average CPI for each machine PI and P2 b) Find the clock cycles for each machine P1 and P2 c) Consider One alternative to time is MIPS (million instructions per second). For a given program, MIPS is simply Instruction count Execution time x 10 MIPS Calculate the average MIPS rating for each computer A and B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
