看板 Grad-ProbAsk 關於我們 聯絡資訊
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