[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    ReadEClock -- Get the current value of the E-Clock. (V36)

SYNOPSIS
    E_Freq = ReadEClock( Dest )
    D0                   A0

    ULONG ReadEClock ( struct eclockval * );

FUNCTION
    This routine calculates the current 64 bit value of the E-Clock
    and stores it in the destination eclockval structure. the count
    rate of the E-Clock is also returned.

    A0 will be left unchanged

    This is a low overhead function designed so that very short
    intervals may be timed.

INPUTS
    Dest -- pointer to an eclockval structure.

RETURNS
    Dest -- the eclockval structure will contain the e-clock time
    E_Freq -- The count rate of the E-Clock (tics/sec).

NOTES
    This function may be called from interrupts.

SEE ALSO

BUGS