PerfDriver Structures and Types
PerfDriver Constants
The header file PerfDriver.h
declares the API that this chapter describes.
PerfDriver Structures and Types
PerfGenCPUClockInfoType Struct
Purpose
Declared In
PerfDriver.h
Prototype
typedef struct PerfGenCPUClockInfoType { uint32_t minClock; uint32_t maxClock; uint32_t defClock; uint32_t curClock; uint32_t numClockModes; } PerfGenCPUClockInfoType, *PerfGenCPUClockInfoPtr
Fields
PerfRefNumType Typedef
Purpose
Declared In
PerfDriver.h
Prototype
typedef uint32_t PerfRefNumType
PerfResultType Struct
Purpose
Declared In
PerfDriver.h
Prototype
typedef struct PerfResultType { uint32_t clockVal; uint32_t extraData; } PerfResultType, *PerfResultPtr
Fields
PerfDriver Constants
Purpose
Declared In
PerfDriver.h
Constants
-
#define kCancelPerfRequest (perfErrorClass | 5)
-
#define kCPUClockInfoVersion_0 0
-
#define kCreatePerfRequest (perfErrorClass | 4)
-
#define kCurrentCPUClockInfoVersion kCPUClockInfoVersion_0
-
#define kGetCPUClockInfo (perfErrorClass | 1)
-
#define kGetCPUClockRateArray (perfErrorClass | 2)
-
#define kPerfClockValueDelta 0x80000000
-
#define kPerfClockValueMax 0xFFFFFFFF
-
#define kPerfRequestAny 0x00000000
-
#define kSetDefaultCPUClockRate (perfErrorClass | 3)
-
#define perfErrBufferTooSmall (perfErrorClass | 4)
-
#define perfErrDeniedPowerLow (perfErrorClass | 5)
-
#define perfErrInvalidParams (perfErrorClass | 1)
-
#define perfErrLimitReached (perfErrorClass | 2)
-
#define perfErrNone errNone
-
#define perfErrNotImplemented (perfErrorClass | 3)