| |||
| Home > RVISS Reference > Memory model interface > armul_ReadClock | |||
This function must return the elapsed time in microseconds since the simulation model reset.
The read_clock entry in the ARMul_MemInterface structure
is a pointer to an armul_ReadClock() function.
ARMTime armul_ReadClock(void *handle)
where:
handleis the value of interf->handle set
in MemInit.
This function returns an ARMTime value
representing the elapsed time in microseconds. The default type
of ARMTime is unsigned long. ARMTime is
defined in armul_types.h.