DEPRECATED. Sets CPU frequency value in GHz.
Fortran:
call mkl_set_cpu_frequency( freq )
C:
mkl_set_cpu_frequency( &freq );
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 |
CPU frequency value in GHz |
This function is deprecated and will be removed in a future release.
The mkl_set_cpu_frequency function sets the CPU frequency in GHz, used then by second /dsecnd functions while converting CPU clocks into seconds. Setting the exact CPU frequency is useful to bypass obtaining a frequency by mkl_get_cpu_frequency.
Initially, CPU frequency value is unset. The CPU frequency value can be set only by mkl_set_cpu_frequency call, or during the first call of mkl_get_cpu_frequency, if mkl_set_cpu_frequency has not been called before. Calling mkl_set_cpu_frequency with a special parameter freq = -1.0 forces the CPU frequency value be unset.
Note that the CPU frequency of your machine is not actually changed when the mkl_set_cpu_frequency subroutine is called.
setcpufrequency is an obsolete name for the mkl_set_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.