Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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