作者christensen ()
看板Grad-ProbAsk
标题[理工] 计组效能请教
时间Wed Apr 8 18:28:53 2009
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
1F:推 MysterySW:第一题对 第二题就1.2/(1.2+4) 04/09 01:34
2F:→ MysterySW:因为CPU除了执行指令外还会去作别的工作 像是IO之类的 04/09 01:34
3F:→ MysterySW:题目问CPU在执行P时所占时间的百分比 04/09 01:35