Returns the current CPU frequency value in GHz.
Fortran:
freq = mkl_get_cpu_frequency()
C:
freq = mkl_get_cpu_frequency();
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.
Name |
Type |
Description |
---|---|---|
freq |
FORTRAN: DOUBLE PRECISION C: double |
Current CPU frequency value in GHz |
The function mkl_get_cpu_frequency returns the current CPU frequency in GHz.
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.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.