|
|
Log In | Not a Member? |
Contact ADC |
|
ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference
|
IOTypes.h |
| Include Path: | <IOKit/IOTypes.h> |
| Path: | /System/Library/Frameworks/IOKit.framework/Versions/A/Headers/IOTypes.h |
| Includes: | <mach/message.h> <mach/vm_types.h> <IOKit/IOReturn.h> <stdbool.h> <libkern/OSTypes.h> <device/device_types.h> |
This header contains standard types common to all of the
I/O Kit.
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.
|