看板 Grad-ProbAsk 關於我們 聯絡資訊
Suppose you wish to run a program P with 7.5x10^9 instructions on a 5GHz machine with a CPI of 0.8. a)What is the expected CPU time? 我算出來是1.2 想請問答案對嗎? b)When you run P, it takes 4 seconds of wall clock time to complete. What is the percentage of the CPU time P received? 請問b小題怎麼算啊? 我不懂它的意思耶 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.170.91.63
MysterySW:第一題對 第二題就1.2/(1.2+4) 04/09 01:34
MysterySW:因為CPU除了執行指令外還會去作別的工作 像是IO之類的 04/09 01:34
MysterySW:題目問CPU在執行P時所佔時間的百分比 04/09 01:35