CPU time

CPU time

fliu62's picture

what is the Portlib FUNCTION of the elapsed CPU time?

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Martyn Corden (Intel)'s picture

> what is the Portlib FUNCTION of the elapsed CPU time?

ETIME and DTIME give the elapsed cpu time since the beginning of the process or since the previous call, respectively, with the return arguments giving user and system components. However, the accuracy is limited to 1/100 second. To get plain elapsed time to microsecond accuracy, use the function DCLOCK (or the Fortran intrinsic CPU_TIME).
See the Fortran Libraries Reference.

Martyn


Login to leave a comment.