LONG CmpTime(
struct timeval * dest,
struct timeval * src );
CmpTime() will compare two timeval's for magnitude, and return
which is the larger.
dest - Destination timeval
src - Source timeval
-1 if dest has more time than src (i.e. dest > src)
0 if dest and src are the same (i.e. dest == src)
+1 if dest has less time than src (i.e. dest < src)
This function is safe to call from interrupts.
The registers A0 and A1 may not be preserved.
ULONG ReadEClock(
struct EClockVal * dest );
ReadEClock() reads current value of E-Clock and stores
it in the destination EClockVal structure passed as
argument. It also returns the frequency of EClock of the
system.
This call is supposed to be very fast.
dest - Destination EClockVal
The EClock frequency (tics/s)
This function is safe to call from interrupts.
void SubTime(
struct timeval * dest,
struct timeval * src );
SubTime() will subtract the src timeval from the destination
timeval, ie "dest - src --> dest".
dest - Destination timeval
src - Source timeval
The timeval dest will contain the sum (dest - src).
This function is safe to call from interrupts.
May not preserve registers.
Docutils System Messages
System Message: ERROR/3 (/home/aros/aros_abiv0/Build/20190520/Documentation/documentation/developers/autodocs/timer.en, line 213); backlink
Unknown target name: "tr_getsystime".
System Message: ERROR/3 (/home/aros/aros_abiv0/Build/20190520/Documentation/documentation/developers/autodocs/timer.en, line 213); backlink
Unknown target name: "tr_setsystime".