It's not real CPU time but actual execution time. Actual CPU time calculation is way too complicated and platform/OS dependent.
回複:如何計算c程序的cputime?
(double)(time2-time1)/CLOCKS_PER_SEC;
It's not real CPU time but actual execution time. Actual CPU time calculation is way too complicated and platform/OS dependent.
It's not real CPU time but actual execution time. Actual CPU time calculation is way too complicated and platform/OS dependent.
所有跟帖:
•
算出來是負數什麽意思呢?
-19879-
♀
(0 bytes)
()
11/16/2005 postreply
10:36:09