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

The FORTRAN 77 interface is specified in the mkl_service.fi include file and the C interface is specified in the mkl_service.h include file.

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

Copyright © 1994 - 2011, Intel Corporation. All rights reserved.