Intel® oneAPI Math Kernel Library Developer Reference - C
Returns the current CPU frequency value in GHz.
doublemkl_get_cpu_frequency(void);
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.
Name |
Type |
Description |
---|---|---|
freq |
double |
Current CPU frequency value in GHz |