Important: The information in this document is obsolete and should not be used for new development.
OTElapsedMicroseconds
Calculates the time elapsed in microseconds since since the time specified by thestartTime
parameter.C INTERFACE
UInt32 OTElapsedMicroseconds (OTTimeStamp* startTime)C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
startTime
- A reference to a timestamp value returned by the
OTGetTimeStamp
function; this indicates the start of the elapsed time interval.- function result
- The number of microseconds that have elapsed since the timestamp specified by the
startTime
parameter.DISCUSSION
Returns the number of microseconds that have elapsed since theOTGetTimeStamp
function was called to get thestartTime
value.A return value of
0xffff ffff
indicates that the value has overflowed 32 bits of microseconds.Use the
OTElapsedMilliseconds
function to measure elapsed time in milliseconds.Use the
OTGetClockTimeInSecs
function to determine the number of seconds that have elapsed since system boot time.