mkl_get_cpu_frequency

Returns the current CPU frequency value in GHz.

Syntax

FORTRAN:

freq = mkl_get_cpu_frequency()

C:

freq = mkl_get_cpu_frequency();

Include Files

Output Parameters

Name

Type

Description

freq

FORTRAN: DOUBLE PRECISION

C: double

Current CPU frequency value in GHz

Description

The function mkl_get_cpu_frequency returns the current CPU frequency in GHz.

Note iconNote

getcpufrequency is an obsolete name for the mkl_get_cpu_frequency function that is referenced in the library for back compatibility purposes but is deprecated and subject to removal in subsequent releases.


Submit feedback on this help topic