Re: [程式] R 運算時間 system.time

看板Statistics作者 (http://0rz.tw/0c5am)時間16年前 (2009/11/18 11:38), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串2/2 (看更多)
※ 引述《s3011 (真‧人肉Matlab)》之銘言: : print(system.time(for(i in 1:25) X%*%X)) : user system elapsed : 114.19 0.38 121.04 : 請問該如何解讀這三個數字呢? : 謝謝 ?proc.time 中有解釋 The definition of 'user' and 'system' times is from your OS. Typically it is something like _The 'user time' is the CPU time charged for the execution of user instructions of the calling process. The 'system time' is the CPU time charged for execution by the system on behalf of the calling process._ 而 elapsed 是實際上耗費的時間 -- R-Info: http://rinfo.nchc.org.tw/ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.110.61.52 ※ 編輯: wanggz 來自: 140.110.61.52 (11/18 11:40)

11/19 10:30, , 1F
算個25次dgemm要用掉121.04也太久了,換個BLAS吧
11/19 10:30, 1F
文章代碼(AID): #1B0smo1b (Statistics)
文章代碼(AID): #1B0smo1b (Statistics)