RtGetClockResolution

RtGetClockResolution obtains the resolution of the specified clock.

Syntax

Copy
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

If the function completes successfully, it returns TRUE. If invalid parameters are specified, it returns FALSE.

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 Header Library

eRTOS 1.0 SDK

Rtapi.h rtkrnl.lib

See Also: