RtPerformance.RtQueryPerformanceCounter Method
RtQueryPerformanceCounter retrieves the current value of the high-resolution performance counter (based on the processor’s time-stamp counter, TSC).
Namespace:
IntervalZero.MaxRT.wRTOS.RtApi.Diagnostics
Assembly:
IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.0)
Syntax
public bool RtQueryPerformanceCounter(
ref long lpPerformanceCounter
)
Parameters
lpPerformanceCounter
Type: System.Int64
Pointer to a variable that receives the current performance-counter value, in counts.
Return Value
Type: Boolean
true if the function succeeds, false if the function fails. To get extended error information, call GetLastError.
See Also: