Important: The information in this document is obsolete and should not be used for new development.
OTElapsedMilliseconds
Calculates the time elapsed in milliseconds since the time specified by thestartTime
parameter.C INTERFACE
UInt32 OTElapsedMilliseconds (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 milliseconds that have elapsed since the timestamp specified by the
startTime
parameter.DISCUSSION
Returns the number of milliseconds 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 milliseconds.Use the
OTElapsedMicroseconds
function to measure elapsed time in microseconds.Use the
OTGetClockTimeInSecs
function to determine the number of seconds that have elapsed since system boot time.