ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference
|
IOTypes.h |
Includes: |
<IOKit/system.h> <mach/message.h> <mach/vm_types.h> <IOKit/IOReturn.h> <libkern/OSTypes.h> <libkern/OSBase.h> <device/device_types.h> |
Scale Factors |
enum { kNanosecondScale = 1, kMicrosecondScale = 1000, kMillisecondScale = 1000 * 1000, kSecondScale = 1000 * 1000 * 1000, kTickScale = ( kSecondScale / 100) };
kNanosecondScale
Scale factor for nanosecond based times.
kMicrosecondScale
Scale factor for microsecond based times.
kMillisecondScale
Scale factor for millisecond based times.
kTickScale
Scale factor for the standard (100Hz) tick.
kSecondScale
Scale factor for second based times.
Used when a scale_factor parameter is required to define a unit of time.
|
Last Updated: 2008-12-19