RtGetHalTimerPeriodCounts

RtGetHalTimerPeriodCounts retrieves the APIC counts per RTX64 HAL timer period.

Syntax

bool RtGetHalTimerPeriodCounts(
    ULONG *pPeriodicCounts,
    ULONG *pPeriodicCountsBase
);

Parameters

pPeriodicCounts

A pointer to an ULONG in which to store the current APIC counts per RTX64 HAL timer period.

pPeriodicCountsBase

A pointer to an ULONG in which to store the base APIC counts per RTX64 HAL timer period.

Return Value

The function returns true if it succeeds. Otherwise, it returns false. Call GetLastError for additional error information.

Remarks

RtGetHalTimerPeriodCounts retrieves the current APIC counts per RTX64 HAL time period together with the base APIC counts per RTX64 HAL timer period. The base APIC counts are computed based on the APIC timer frequency and HAL timer period during RTX64 startup.

Requirements

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

See Also:

RtSetHalTimerPeriodCounts