IOTypes.h

Includes:
<mach/message.h>
<mach/vm_types.h>
<IOKit/IOReturn.h>
<stdbool.h>
<libkern/OSTypes.h>
<device/device_types.h>

Overview

Use the links in the table of contents to the left to access the documentation.



Enumerated Types

Scale Factors

Scale Factors


enum { 
    kNanosecondScale = 1, 
    kMicrosecondScale = 1000, 
    kMillisecondScale = 1000 * 1000, 
    kSecondScale = 1000 * 1000 * 1000, 
    kTickScale = (
        kSecondScale / 100) 
};  
Constants
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.

Discussion

Used when a scale_factor parameter is required to define a unit of time.

 

Did this document help you? Yes It's good, but... Not helpful...

 

Last Updated: 2009-10-15