作者ms0016706 (悠閒小穎)
看板Grad-ProbAsk
標題[理工] 100中山計組
時間Thu Nov 24 23:07:05 2011
Instruction MIPS examples Frequency
Integer Floating-point
Data transfer lw,sw,lb,sb,lui 36% 39%
題目是:Using the information for the program SPEC2000fp,find the percentage
of all memory accesses (both data and instruction) that are for reads.
Assume that two-third of data transfers are loads.
答案是:(100+39*2/3)/100+39
想請問一下,分子的100是怎麼來的??
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.170.125.204
1F:推 Byzantin:Instruction fetch吧,100的解答已經出了唷@@? 11/24 23:43
2F:推 wheels:因為每道指令都要從memory fetch,所以要加上100% 11/24 23:44
3F:→ wheels:樓上的問題我也想知道!XDD 11/24 23:44
4F:→ ms0016706:題目是題庫班來的@@" 感謝解答! 11/24 23:53
5F:→ ms0016706:解答 抱歉打錯.... 11/24 23:54