Developer Reference for Intel® oneAPI Math Kernel Library for Fortran
mkl_get_cpu_clocks
Returns elapsed CPU clocks.
Syntax
callmkl_get_cpu_clocks ( clocks )
Include Files
Include file: mkl.fi
Module (compiled): mkl_service.mod
Module (source): mkl_service.f90
Output Parameters
Name |
Type |
Description |
|---|---|---|
clocks |
INTEGER*8 |
Elapsed CPU clocks |
Description
The mkl_get_cpu_clocks function returns the elapsed CPU clocks.
This may be useful when timing short intervals with high resolution. The mkl_get_cpu_clocks function is also applied in pairs like second/dsecnd . Note that out-of-order code execution on Intel® 64 architecture processors may disturb the exact elapsed CPU clocks value a little bit, which may be important while measuring extremely short time intervals.
Product and Performance Information Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex . Notice revision #20201201