Developer Reference

  • 2021.1
  • 12/04/2020
  • Public Content
Contents

mkl_get_cpu_frequency

Returns the current CPU frequency value in GHz.

Syntax

double
mkl_get_cpu_frequency
(
void
);
Include Files
  • mkl.h
Description
The function
mkl_get_cpu_frequency
returns the current CPU frequency in GHz.
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
Current CPU frequency value in GHz

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.