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

Retrieves the current value of the high-resolution performance counter (which is the same as the processor timestamp counter).

BOOLEAN QueryRtPerformanceCounter(
     QWORD *lpPerformanceCount
);

Parameters

pPerformanceCount
Pointer to a variable that receives the current performance counter value, in counts.

Remarks

This call uses the CPU Time Stamp Counter as the source of the timestamp. It is recommended that GetRtTimestampCounter is used in place of this call for a source which is guaranteed to be the same across all nodes on a host.

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
See Also