RTPerformanceRtQueryPerformanceFrequency Method

RtQueryPerformanceFrequency retrieves the frequency of the high-resolution performance counter(based on the processor’s time-stamp counter, TSC). The frequency cannot change while the system is running.

Namespace:  IntervalZero.RTX64.RTAPI.Diagnostics.RTProcess
Assembly:  IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 3.3.0.0 (File version: 3.5.0)

Syntax
public bool RtQueryPerformanceFrequency(
	ref long lpFrequency
)

Parameters

lpFrequency
Type: SystemInt64
Pointer to a variable that receives the performance-counter frequency, in counts per second.

Return Value

Type: Boolean
True if the function succeeds, false if the function fails. To get extended error information, call GetLastError.
See Also