RtGetClockResolution

RtGetClockResolution obtains the resolution of the specified clock.

Syntax

BOOL RtGetClockResolution(
    CLOCK Clock,
    PLARGE_INTEGER pResolution
);

Parameters

Clock

A clock identifier.

pResolution

A pointer to a LARGE_INTEGER structure in which to store the results.

Return Value

TRUE if the function completes successfully, FALSE if invalid parameters are specified

Remarks

RtGetClockResolution obtains the resolution of the specified clock. The resolution is specified in 100ns units. See the table in the RtCreateTimer Comments section for a list of legal clock values.

Requirements

Minimum Supported Version RTX64 2013
Header Rtapi.h
Library RtApi.lib (Windows), Rtx_Rtss.lib (RTSS)

See Also:

RtCancelTimer

RtCreateTimer

RtDeleteTimer

RtGetClockTime

RtGetClockTimerPeriod

RtSetClockTime

RtSetTimer

RtSetTimerRelative