作者ceo890710 (Drinking)
看板Grad-ProbAsk
標題[理工] [計組] performance
時間Sat Sep 17 21:19:26 2011
CPU time 已經算出是1.2s
有個小題繼續問
it takes 3 seconds of wait clock time to complete.what is the
percentage of the CPU time P received?
我不太懂這個地方的意思 以及為什麼是用1.2/3 = 40%來解
請高手解答 謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.37.129.190
推 metalalive:3 second 是程式實際執行的時間,一般來說 09/17 22:15
→ metalalive:程式實際exec time = CPU ecex time + I/O wait time 09/17 22:17
→ metalalive:題目是要求cpu time占整個程式執行時間的 percentage 09/17 22:19
→ ceo890710:我懂了~感謝! 09/17 22:23
推 da0910cc:我還以為是 1.2/(1.2+3)呢@@....? 09/18 20:34