[理工] [計組]-效能
A certain machine with a 10ns(10*10^9s) clock period can
perform jump(1 cycle),branches(3 cycles),arithmetic intruction(2 cycles)
multiply intructions(5 cycles),and memory intruction(4 cycles).
A certain program has 10% jumps, 10% branches,50% arithmetic,10%
multiply. and 20% memory intructions.
What is the CPI of this program on this machine?
解答是說 clock=10ns
不是求CPI嗎?
題木我只看的懂說指令 jump CPI=1
branches CPI=3
arithmetic CPI=2
multiply CPI=5
memory CPI=4 (其實也不知道我這樣對不對)..
至於10ns是啥我不瞭捏
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.168.61.95
→
09/18 22:30, , 1F
09/18 22:30, 1F
推
09/18 22:39, , 2F
09/18 22:39, 2F
→
09/18 22:40, , 3F
09/18 22:40, 3F
推
09/18 22:42, , 4F
09/18 22:42, 4F
→
09/18 22:43, , 5F
09/18 22:43, 5F
→
09/18 22:44, , 6F
09/18 22:44, 6F
→
09/18 22:53, , 7F
09/18 22:53, 7F
→
09/18 22:53, , 8F
09/18 22:53, 8F
討論串 (同標題文章)