Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 27 - Utilities Reference / Functions
Timestamp Utility Functions /


OTTimeStampInMicroseconds

Converts the difference between two timestamp values into microseconds.

C INTERFACE
UInt32 OTTimeStampInMicroseconds (OTTimeStamp* delta)
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
delta
A reference to the value that you want to convert into microseconds. You would normally get this value by calling OTSubtractTimeStamps.
function result
The number of microseconds obtained after the timestamp value has been converted.
DISCUSSION
A return value of 0xffff ffff indicates that the converted delta value has overflowed 32 bits of microseconds.

Use the OTGetTimeStamp function to obtain the current timestamp.

Use the OTTimeStampInMilliseconds to convert a timestamp value to milliseconds.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998