I'm not sure why it is not documented anywhere, but here is an example of how it is used, if that helps
static float HowLong(
AbsoluteTime endTime,
AbsoluteTime bgnTime
)
{
AbsoluteTime absTime;
Nanoseconds nanosec;
absTime = SubAbsoluteFromAbsolute(endTime, bgnTime);
nanosec = AbsoluteToNanoseconds(absTime);
return (float) UnsignedWideToUInt64( nanosec ) / 1000.0;
}
UPDATE:
" , , - , AbsoluteToDuration"
. AbsoluteToNanoseconds() Nanoseconds, UnsignedWide.
struct UnsignedWide {
UInt32 hi;
UInt32 lo;
};
, AbsoluteToDuration() Duration, SInt32 signed long:
typedef SInt32 Duration;
Durations , , . Nanoseconds, , , , .