Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

CPU time

fliu62
Beginner
347 Views

what is the Portlib FUNCTION of the elapsed CPU time?

0 Kudos
1 Reply
Martyn_C_Intel
Employee
347 Views
> 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


0 Kudos
Reply