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 thestartTimeparameter.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
OTGetTimeStampfunction; this indicates the start of the elapsed time interval.- function result
- The number of milliseconds that have elapsed since the timestamp specified by the
startTimeparameter.DISCUSSION
Returns the number of milliseconds that have elapsed since theOTGetTimeStampfunction was called to get thestartTimevalue.A return value of
0xffff ffffindicates that the value has overflowed 32 bits of milliseconds.Use the
OTElapsedMicrosecondsfunction to measure elapsed time in microseconds.Use the
OTGetClockTimeInSecsfunction to determine the number of seconds that have elapsed since system boot time.