Developer Reference for Intel® oneAPI Math Kernel Library for C
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-812BBBD3-3CEB-4B05-8A96-6906690ED8BA
Visible to Intel only — GUID: GUID-812BBBD3-3CEB-4B05-8A96-6906690ED8BA
mkl_get_cpu_frequency
Returns the current CPU frequency value in GHz.
Syntax
doublemkl_get_cpu_frequency(void);
Include Files
- mkl.h
Description
The function mkl_get_cpu_frequency returns the current CPU frequency in GHz.
The returned value may vary from run to run if power management or Intel® Turbo Boost Technology is enabled.
Return Values
Name |
Type |
Description |
---|---|---|
freq |
double |
Current CPU frequency value in GHz |