ippGetCpuFreqMhz

Estimates the processor operating frequency.

Syntax

IppStatus ippGetCpuFreqMhz(int* pMhz);

Parameters

pMhz

pMhz Pointer to the result.

Description

The function ippGetCpuFreqMhz is declared in the ippcore.h file. This function estimates the processor operating frequency and returns its value in MHz as an integer stored in pMhz. Note that no exact value of frequency is guaranteed. So the estimated value can vary depending on the processor workload.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition when the pMhz pointer is NULL.

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.