Intel® oneAPI Math Kernel Library Developer Reference - C
Returns elapsed CPU clocks.
void mkl_get_cpu_clocks (unsigned MKL_INT64 *clocks);
Name |
Type |
Description |
---|---|---|
clocks |
unsigned MKL_INT64 |
Elapsed CPU clocks |
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 IA-32 or 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 |