Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 10/31/2024
Public
Document Table of Contents

mkl_get_cpu_frequency

Returns the current CPU frequency value in GHz.

Syntax

freq = mkl_get_cpu_frequency()

Fortran Include Files/Modules

  • Include file: mkl.fi
  • Module (compiled): mkl_service.mod
  • Module (source): mkl_service.f90

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