看板 Grad-ProbAsk 關於我們 聯絡資訊
※ 引述《zx33571163 (mm)》之銘言: : the process has a CPI of 2 without memory stalls : and memory stall penalty is 100 clocks. : if 5% instructions of program need to access the memory : and miss rate 0.2 .find CPI with memory stalls. : 解答寫 : 2+1.05*0.2*100=23 : 我覺得是 : 2+0.05*0.2*100= : 94交大電控 : 哪一個才對阿? 2+100*0.2+100*0.05*0.2=23 其中: 100*0.2=存取指令失誤的penalty 100*0.05*0.2=存取指令中有access the memory失誤的penalty -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.243.66
ianwuzack:是梨子耶XD 02/06 18:04
zx33571163:喔~~懂了^^沒想到那麼多 02/06 18:08