# Homework Solution: Processor CPI for each Instruction Class P1(2GHz) P2(2.5GHz) 1 1…

Consider two processors P1 and P2 with four types of instructions as listed in the table. Assume that a program with a dynamic instruction count of 106 instructions such that the instructions are divided into the classes as follows: 20% class A, 10% class B, 30% class C, and 40% class D. P1 has a clock rate of 2 GHz P2 has a clock rate of 2.5 GHz a) What is the AVERAGE CPI of each processor?
Processor CPI for each Instruction Class P1(2GHz) P2(2.5GHz) 1 1

Consider brace processors P1 and P2 with immodest types of commands as listed in the table. Assume that a program with a dynamic command estimate of 106 instructions such that the commands are disjoined into the collocatees as follows: 20% collocate A, 10% collocate B, 30% collocate C, and 40% collocate D.

P1 has a clock scold of 2 GHz

P2 has a clock scold of 2.5 GHz

a) What is the AVERAGE CPI of each processor?

Processor CPI for each Command Collocate P1(2GHz) P2(2.5GHz) 1 1