Intel® oneAPI Math Kernel Library Developer Reference - Fortran

mkl_get_cpu_frequency

Returns the current CPU frequency value in GHz.

Syntax

freq = mkl_get_cpu_frequency()

Fortran Include Files/Modules

Description

The function mkl_get_cpu_frequency returns the current CPU frequency in GHz.

Note

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 PRECISION

Current CPU frequency value in GHz