consider two different implementations, P1 and P2, of the same instruction set
There are five classes of instructions(A,B,C,D,E) in the instruction set.
P1 has a clock rate of 4GHz. P2 has a clock rate of 6GHz. The average number
of cycles for each instruction class for P1 and P2 is as follows:
Class CPI on P1 CPI on P2
A 1 2
B 2 2
C 3 2
D 4 4
E 3 4
(1)assume that peak performance is defined as the fastest rate that a computer
can execute any instruction sequence. What are the peak performances of P1
and P2 expressed in instructions per second?
張凡上冊247頁 請問這題要怎麼解?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.166.113.236