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


NAME
    GetSysTime -- Get the system time. (V36)

SYNOPSIS
    GetSysTime( Dest )
                A0

    void GetSysTime( struct timeval * );

FUNCTION
    Ask the system what time it is.  The system time starts off at
    zero at power on, but may be initialized via the tr_setsystime
    timer.device command.

    System time is monotonocally increasing and guarenteed to be
    unique (except when the system time is set back).

    A0 will be left unchanged.

    This function is less expensive to use than the tr_getsystime
    iorequest.

INPUTS
    Dest -- pointer to a timeval structure to hold the system time.

RESULTS
    Dest -- the timeval structure will contain the system time.

NOTES
    This function may be called from interrupts.

SEE ALSO
    timer.device/tr_getsystime,
    timer.device/tr_setsystime,

BUGS