INtime SDK Help
QueryRtPerformanceFrequency
INtime SDK v7 > About INtime > INtime Kernel > Time management > QueryRtPerformanceFrequency

Retrieves the frequency of the high-resolution performance counter (which is the same as the processor clock).

BOOLEAN QueryRtPerformanceFrequency(
    QWORD *pFrequency
);

Parameters

pFrequency
Pointer to a QWORD variable that receives the current performance counter frequency, in counts per second.

Return Values

Non-zero
Success.
0 (zero)
Failure. For extended error information, see GetLastError.

Requirements

Versions Defined in Include Link to
INtime 4.0 intime/rt/include/rtdef.h rt.h rt.lib

Note

This function operates in the real-time portion of your application.

See Also