Documentation
¶
Overview ¶
Package performancecontrolkit provides Go bindings for the performancecontrolkit framework.
Key Types ¶
- CLPCUserClient
- CLPCReportingSchemaColumn
- CLPCReportingClient
- CLPCReportingStatSelection
- CLPCPolicyClient
- CLPCReportingRows
- CLPCReportingReadResult
- CLPCReportingSchema
- CLPCPolicyInterface
- CLPCReportingInterface
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- func BindFunc(fptr any, name string) (err error)
- func NewVoidBlock(handler VoidHandler) (objc.ID, func())
- func SymbolAddress(name string) (uintptr, error)
- type CLPC
- type CLPCPolicyAccess
- type CLPCPolicyAccessObject
- func (o CLPCPolicyAccessObject) BaseObject() objectivec.Object
- func (o CLPCPolicyAccessObject) IsInContextualPowerMode(mode *objc.ID) uint64
- func (o CLPCPolicyAccessObject) IsInDockMode(mode *objc.ID) uint64
- func (o CLPCPolicyAccessObject) IsInGameMode(mode *objc.ID) uint64
- func (o CLPCPolicyAccessObject) IsInHotInPocketMode(mode *objc.ID) uint64
- func (o CLPCPolicyAccessObject) IsInIntelligentBatteryLifeMode(mode *objc.ID) uint64
- func (o CLPCPolicyAccessObject) IsInLowPowerMode(mode *objc.ID) uint64
- func (o CLPCPolicyAccessObject) IsInSustainableMode(mode *objc.ID) uint64
- func (o CLPCPolicyAccessObject) IsInTaskingMode(mode *objc.ID) uint64
- func (o CLPCPolicyAccessObject) IsLowPowerModeCandidateError(candidate uint64) (bool, error)
- func (o CLPCPolicyAccessObject) SetCLPCTrialIDError(id uint64) (bool, error)
- func (o CLPCPolicyAccessObject) SetContextualPowerModeOptionsError(mode bool, options uint64) (bool, error)
- func (o CLPCPolicyAccessObject) SetDockModeOptionsError(mode bool, options uint64) (bool, error)
- func (o CLPCPolicyAccessObject) SetGameModeOnProcessTargetProcessOptionsError(process bool, process2 int32, options uint64) (bool, error)
- func (o CLPCPolicyAccessObject) SetGameModeOptionsError(mode bool, options uint64) (bool, error)
- func (o CLPCPolicyAccessObject) SetHotInPocketModeOptionsError(mode bool, options uint64) (bool, error)
- func (o CLPCPolicyAccessObject) SetIntelligentBatteryLifeModeOptionsError(mode bool, options uint64) (bool, error)
- func (o CLPCPolicyAccessObject) SetLowPowerModeOptionsError(mode bool, options uint64) (bool, error)
- func (o CLPCPolicyAccessObject) SetPowerTargetToTargetWattsWithReasonCodeError(target uint64, watts float32, code int32) (bool, error)
- func (o CLPCPolicyAccessObject) SetSustainableModeOptionsError(mode bool, options uint64) (bool, error)
- func (o CLPCPolicyAccessObject) SetTaskingModeOptionsError(mode bool, options uint64) (bool, error)
- func (o CLPCPolicyAccessObject) SetWorkloadPowerBudgetOptionsError(budget float32, options uint64) (bool, error)
- type CLPCPolicyClient
- type CLPCPolicyClientClass
- type CLPCPolicyInterface
- type CLPCPolicyInterfaceClass
- type CLPCReportingAccess
- type CLPCReportingAccessObject
- func (o CLPCReportingAccessObject) BaseObject() objectivec.Object
- func (o CLPCReportingAccessObject) EnableStatsError(stats objectivec.IObject) (bool, error)
- func (o CLPCReportingAccessObject) EnabledStats() objectivec.IObject
- func (o CLPCReportingAccessObject) ReadDeltaStats(stats *objc.ID) objectivec.IObject
- func (o CLPCReportingAccessObject) ReadStats(stats *objc.ID) objectivec.IObject
- func (o CLPCReportingAccessObject) SchemaIDForStatIDError(id uint64) (uint64, error)
- func (o CLPCReportingAccessObject) SetNumberOfThreadGroupsError(groups objectivec.IObject) error
- func (o CLPCReportingAccessObject) SetPreviousTimestampError(timestamp objectivec.IObject) error
- func (o CLPCReportingAccessObject) SetTGSortingMetricError(metric uint64) (bool, error)
- func (o CLPCReportingAccessObject) SupportedStats() objectivec.IObject
- type CLPCReportingClient
- func (c CLPCReportingClient) Autorelease() CLPCReportingClient
- func (c CLPCReportingClient) EnableStatsError(stats objectivec.IObject) (bool, error)
- func (c CLPCReportingClient) EnabledStats() objectivec.IObject
- func (c CLPCReportingClient) Init() CLPCReportingClient
- func (c CLPCReportingClient) ReadDeltaStats(stats *objc.ID) objectivec.IObject
- func (c CLPCReportingClient) ReadStats(stats *objc.ID) objectivec.IObject
- func (c CLPCReportingClient) SchemaIDForStatIDError(id uint64) (uint64, error)
- func (c CLPCReportingClient) SetNumberOfThreadGroupsError(groups objectivec.IObject) error
- func (c CLPCReportingClient) SetPreviousTimestampError(timestamp objectivec.IObject) error
- func (c CLPCReportingClient) SetTGSortingMetricError(metric uint64) (bool, error)
- func (c CLPCReportingClient) SupportedStats() objectivec.IObject
- type CLPCReportingClientClass
- type CLPCReportingInterface
- type CLPCReportingInterfaceClass
- type CLPCReportingReadResult
- func (c CLPCReportingReadResult) Autorelease() CLPCReportingReadResult
- func (c CLPCReportingReadResult) Enumerate(enumerate VoidHandler)
- func (c CLPCReportingReadResult) EnumerateSync(ctx context.Context) error
- func (c CLPCReportingReadResult) HasRowsForSchemaIDError(id uint64) (uint64, error)
- func (c CLPCReportingReadResult) Init() CLPCReportingReadResult
- func (c CLPCReportingReadResult) RowsForSchemaIDError(id uint64) (objectivec.IObject, error)
- type CLPCReportingReadResultClass
- type CLPCReportingRows
- func (c CLPCReportingRows) Autorelease() CLPCReportingRows
- func (c CLPCReportingRows) Init() CLPCReportingRows
- func (c CLPCReportingRows) Rows() foundation.INSArray
- func (c CLPCReportingRows) Schema() ICLPCReportingSchema
- func (c CLPCReportingRows) SetRows(value foundation.INSArray)
- func (c CLPCReportingRows) SetSchema(value ICLPCReportingSchema)
- type CLPCReportingRowsClass
- type CLPCReportingSchema
- type CLPCReportingSchemaClass
- type CLPCReportingSchemaColumn
- func (c CLPCReportingSchemaColumn) Autorelease() CLPCReportingSchemaColumn
- func (c CLPCReportingSchemaColumn) Format() uint64
- func (c CLPCReportingSchemaColumn) Init() CLPCReportingSchemaColumn
- func (c CLPCReportingSchemaColumn) MetadataType() uint64
- func (c CLPCReportingSchemaColumn) Name() string
- func (c CLPCReportingSchemaColumn) SetFormat(value uint64)
- func (c CLPCReportingSchemaColumn) SetMetadataType(value uint64)
- func (c CLPCReportingSchemaColumn) SetName(value string)
- func (c CLPCReportingSchemaColumn) SetStatID(value uint64)
- func (c CLPCReportingSchemaColumn) SetType(value uint64)
- func (c CLPCReportingSchemaColumn) SetValueID(value foundation.NSNumber)
- func (c CLPCReportingSchemaColumn) StatID() uint64
- func (c CLPCReportingSchemaColumn) Type() uint64
- func (c CLPCReportingSchemaColumn) ValueID() foundation.NSNumber
- type CLPCReportingSchemaColumnClass
- type CLPCReportingStatSelection
- func (c CLPCReportingStatSelection) Autorelease() CLPCReportingStatSelection
- func (c CLPCReportingStatSelection) DeselectAll()
- func (c CLPCReportingStatSelection) DeselectStatError(stat uint64) (bool, error)
- func (c CLPCReportingStatSelection) DeselectStatsOfSchemaError(schema uint64) (bool, error)
- func (c CLPCReportingStatSelection) Enumerate(enumerate VoidHandler)
- func (c CLPCReportingStatSelection) EnumerateSync(ctx context.Context) error
- func (c CLPCReportingStatSelection) Init() CLPCReportingStatSelection
- func (c CLPCReportingStatSelection) IsSelectedError(selected uint64) (uint64, error)
- func (c CLPCReportingStatSelection) SelectAll()
- func (c CLPCReportingStatSelection) SelectStatError(stat uint64) (bool, error)
- func (c CLPCReportingStatSelection) SelectStatsOfSchemaError(schema uint64) (bool, error)
- type CLPCReportingStatSelectionClass
- type CLPCUserClient
- func (c CLPCUserClient) Autorelease() CLPCUserClient
- func (c CLPCUserClient) Init() CLPCUserClient
- func (c CLPCUserClient) InitWithValue(init_ *objc.ID) CLPCUserClient
- func (c CLPCUserClient) IsInContextualPowerMode(mode *objc.ID) uint64
- func (c CLPCUserClient) IsInDockMode(mode *objc.ID) uint64
- func (c CLPCUserClient) IsInGameMode(mode *objc.ID) uint64
- func (c CLPCUserClient) IsInHotInPocketMode(mode *objc.ID) uint64
- func (c CLPCUserClient) IsInIntelligentBatteryLifeMode(mode *objc.ID) uint64
- func (c CLPCUserClient) IsInLowPowerMode(mode *objc.ID) uint64
- func (c CLPCUserClient) IsInSustainableMode(mode *objc.ID) uint64
- func (c CLPCUserClient) IsInTaskingMode(mode *objc.ID) uint64
- func (c CLPCUserClient) ReportingObfuscationData(data *objc.ID) objectivec.IObject
- func (c CLPCUserClient) SetContextualPowerModeOptionsError(mode bool, options uint64) (bool, error)
- func (c CLPCUserClient) SetDockModeOptionsError(mode bool, options uint64) (bool, error)
- func (c CLPCUserClient) SetGameModeOnProcessTargetProcessOptionsError(process bool, process2 int32, options uint64) (bool, error)
- func (c CLPCUserClient) SetGameModeOptionsError(mode bool, options uint64) (bool, error)
- func (c CLPCUserClient) SetHotInPocketModeOptionsError(mode bool, options uint64) (bool, error)
- func (c CLPCUserClient) SetIntelligentBatteryLifeModeOptionsError(mode bool, options uint64) (bool, error)
- func (c CLPCUserClient) SetLowPowerModeOptionsError(mode bool, options uint64) (bool, error)
- func (c CLPCUserClient) SetPowerTargetToTargetWattsWithReasonCodeError(target uint64, watts float32, code int32) (bool, error)
- func (c CLPCUserClient) SetSustainableModeOptionsError(mode bool, options uint64) (bool, error)
- func (c CLPCUserClient) SetTaskingModeOptionsError(mode bool, options uint64) (bool, error)
- func (c CLPCUserClient) SetWorkloadPowerBudgetOptionsError(budget float32, options uint64) (bool, error)
- type CLPCUserClientClass
- type CLPCUtils
- type CLPCUtilsClass
- type ChannelList
- type ICLPCPolicyClient
- type ICLPCPolicyInterface
- type ICLPCReportingClient
- type ICLPCReportingInterface
- type ICLPCReportingReadResult
- type ICLPCReportingRows
- type ICLPCReportingSchema
- type ICLPCReportingSchemaColumn
- type ICLPCReportingStatSelection
- type ICLPCUserClient
- type ICLPCUtils
- type IOReportSubscriptionCF
- type IOReportSubscriptionCFRef
- type LPGMInfo
- type ResponseInfo
- type SampleList
- type Service
- type Subscription
- type VoidHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindFunc ¶
BindFunc binds the performancecontrolkit symbol name into fptr, which must be a pointer to a func variable.
The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.
func NewVoidBlock ¶
func NewVoidBlock(handler VoidHandler) (objc.ID, func())
NewVoidBlock wraps a Go VoidHandler as an Objective-C block. The caller must defer the returned cleanup function.
Used by:
func SymbolAddress ¶
SymbolAddress returns the address of name in performancecontrolkit, whether or not this package generated a binding for it.
What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.
The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.
Types ¶
type CLPCPolicyAccess ¶
type CLPCPolicyAccess interface {
objectivec.IObject
// IsInContextualPowerMode protocol.
IsInContextualPowerMode(mode *objc.ID) uint64
// IsInDockMode protocol.
IsInDockMode(mode *objc.ID) uint64
// IsInGameMode protocol.
IsInGameMode(mode *objc.ID) uint64
// IsInHotInPocketMode protocol.
IsInHotInPocketMode(mode *objc.ID) uint64
// IsInIntelligentBatteryLifeMode protocol.
IsInIntelligentBatteryLifeMode(mode *objc.ID) uint64
// IsInLowPowerMode protocol.
IsInLowPowerMode(mode *objc.ID) uint64
// IsInSustainableMode protocol.
IsInSustainableMode(mode *objc.ID) uint64
// IsInTaskingMode protocol.
IsInTaskingMode(mode *objc.ID) uint64
// IsLowPowerModeCandidateError protocol.
IsLowPowerModeCandidateError(candidate uint64) (bool, error)
// SetCLPCTrialIDError protocol.
SetCLPCTrialIDError(id uint64) (bool, error)
// SetContextualPowerModeOptionsError protocol.
SetContextualPowerModeOptionsError(mode bool, options uint64) (bool, error)
// SetDockModeOptionsError protocol.
SetDockModeOptionsError(mode bool, options uint64) (bool, error)
// SetGameModeOptionsError protocol.
SetGameModeOptionsError(mode bool, options uint64) (bool, error)
// SetGameModeOnProcessTargetProcessOptionsError protocol.
SetGameModeOnProcessTargetProcessOptionsError(process bool, process2 int32, options uint64) (bool, error)
// SetHotInPocketModeOptionsError protocol.
SetHotInPocketModeOptionsError(mode bool, options uint64) (bool, error)
// SetIntelligentBatteryLifeModeOptionsError protocol.
SetIntelligentBatteryLifeModeOptionsError(mode bool, options uint64) (bool, error)
// SetLowPowerModeOptionsError protocol.
SetLowPowerModeOptionsError(mode bool, options uint64) (bool, error)
// SetPowerTargetToTargetWattsWithReasonCodeError protocol.
SetPowerTargetToTargetWattsWithReasonCodeError(target uint64, watts float32, code int32) (bool, error)
// SetSustainableModeOptionsError protocol.
SetSustainableModeOptionsError(mode bool, options uint64) (bool, error)
// SetTaskingModeOptionsError protocol.
SetTaskingModeOptionsError(mode bool, options uint64) (bool, error)
// SetWorkloadPowerBudgetOptionsError protocol.
SetWorkloadPowerBudgetOptionsError(budget float32, options uint64) (bool, error)
}
CLPCPolicyAccess protocol.
type CLPCPolicyAccessObject ¶
type CLPCPolicyAccessObject struct {
objectivec.Object
}
CLPCPolicyAccessObject wraps an existing Objective-C object that conforms to the CLPCPolicyAccess protocol.
func CLPCPolicyAccessObjectFromID ¶
func CLPCPolicyAccessObjectFromID(id objc.ID) CLPCPolicyAccessObject
CLPCPolicyAccessObjectFromID constructs a CLPCPolicyAccessObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CLPCPolicyAccessObject) BaseObject ¶
func (o CLPCPolicyAccessObject) BaseObject() objectivec.Object
func (CLPCPolicyAccessObject) IsInContextualPowerMode ¶
func (o CLPCPolicyAccessObject) IsInContextualPowerMode(mode *objc.ID) uint64
func (CLPCPolicyAccessObject) IsInDockMode ¶
func (o CLPCPolicyAccessObject) IsInDockMode(mode *objc.ID) uint64
func (CLPCPolicyAccessObject) IsInGameMode ¶
func (o CLPCPolicyAccessObject) IsInGameMode(mode *objc.ID) uint64
func (CLPCPolicyAccessObject) IsInHotInPocketMode ¶
func (o CLPCPolicyAccessObject) IsInHotInPocketMode(mode *objc.ID) uint64
func (CLPCPolicyAccessObject) IsInIntelligentBatteryLifeMode ¶
func (o CLPCPolicyAccessObject) IsInIntelligentBatteryLifeMode(mode *objc.ID) uint64
func (CLPCPolicyAccessObject) IsInLowPowerMode ¶
func (o CLPCPolicyAccessObject) IsInLowPowerMode(mode *objc.ID) uint64
func (CLPCPolicyAccessObject) IsInSustainableMode ¶
func (o CLPCPolicyAccessObject) IsInSustainableMode(mode *objc.ID) uint64
func (CLPCPolicyAccessObject) IsInTaskingMode ¶
func (o CLPCPolicyAccessObject) IsInTaskingMode(mode *objc.ID) uint64
func (CLPCPolicyAccessObject) IsLowPowerModeCandidateError ¶
func (o CLPCPolicyAccessObject) IsLowPowerModeCandidateError(candidate uint64) (bool, error)
func (CLPCPolicyAccessObject) SetCLPCTrialIDError ¶
func (o CLPCPolicyAccessObject) SetCLPCTrialIDError(id uint64) (bool, error)
func (CLPCPolicyAccessObject) SetContextualPowerModeOptionsError ¶
func (o CLPCPolicyAccessObject) SetContextualPowerModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCPolicyAccessObject) SetDockModeOptionsError ¶
func (o CLPCPolicyAccessObject) SetDockModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCPolicyAccessObject) SetGameModeOnProcessTargetProcessOptionsError ¶
func (CLPCPolicyAccessObject) SetGameModeOptionsError ¶
func (o CLPCPolicyAccessObject) SetGameModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCPolicyAccessObject) SetHotInPocketModeOptionsError ¶
func (o CLPCPolicyAccessObject) SetHotInPocketModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCPolicyAccessObject) SetIntelligentBatteryLifeModeOptionsError ¶
func (o CLPCPolicyAccessObject) SetIntelligentBatteryLifeModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCPolicyAccessObject) SetLowPowerModeOptionsError ¶
func (o CLPCPolicyAccessObject) SetLowPowerModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCPolicyAccessObject) SetPowerTargetToTargetWattsWithReasonCodeError ¶
func (CLPCPolicyAccessObject) SetSustainableModeOptionsError ¶
func (o CLPCPolicyAccessObject) SetSustainableModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCPolicyAccessObject) SetTaskingModeOptionsError ¶
func (o CLPCPolicyAccessObject) SetTaskingModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCPolicyAccessObject) SetWorkloadPowerBudgetOptionsError ¶
func (o CLPCPolicyAccessObject) SetWorkloadPowerBudgetOptionsError(budget float32, options uint64) (bool, error)
type CLPCPolicyClient ¶
type CLPCPolicyClient struct {
CLPCUserClient
}
Methods ¶
func CLPCPolicyClientFromID ¶
func CLPCPolicyClientFromID(id objc.ID) CLPCPolicyClient
CLPCPolicyClientFromID constructs a CLPCPolicyClient from an objc.ID.
func NewCLPCPolicyClient ¶
func NewCLPCPolicyClient() CLPCPolicyClient
NewCLPCPolicyClient creates a new CLPCPolicyClient instance.
func NewCLPCPolicyClientWithValue ¶
func NewCLPCPolicyClientWithValue(init_ *objc.ID) CLPCPolicyClient
func (CLPCPolicyClient) Autorelease ¶
func (c CLPCPolicyClient) Autorelease() CLPCPolicyClient
Autorelease adds the receiver to the current autorelease pool.
func (CLPCPolicyClient) Init ¶
func (c CLPCPolicyClient) Init() CLPCPolicyClient
Init initializes the instance.
func (CLPCPolicyClient) IsLowPowerModeCandidateError ¶
func (c CLPCPolicyClient) IsLowPowerModeCandidateError(candidate uint64) (bool, error)
func (CLPCPolicyClient) SetCLPCTrialIDError ¶
func (c CLPCPolicyClient) SetCLPCTrialIDError(id uint64) (bool, error)
type CLPCPolicyClientClass ¶
type CLPCPolicyClientClass struct {
// contains filtered or unexported fields
}
func GetCLPCPolicyClientClass ¶
func GetCLPCPolicyClientClass() CLPCPolicyClientClass
GetCLPCPolicyClientClass returns the class object for CLPCPolicyClient.
func (CLPCPolicyClientClass) Alloc ¶
func (cc CLPCPolicyClientClass) Alloc() CLPCPolicyClient
Alloc allocates memory for a new instance of the class.
func (CLPCPolicyClientClass) Class ¶
func (cc CLPCPolicyClientClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type CLPCPolicyInterface ¶
type CLPCPolicyInterface struct {
objectivec.Object
}
func CLPCPolicyInterfaceFromID ¶
func CLPCPolicyInterfaceFromID(id objc.ID) CLPCPolicyInterface
CLPCPolicyInterfaceFromID constructs a CLPCPolicyInterface from an objc.ID.
func NewCLPCPolicyInterface ¶
func NewCLPCPolicyInterface() CLPCPolicyInterface
NewCLPCPolicyInterface creates a new CLPCPolicyInterface instance.
func (CLPCPolicyInterface) Autorelease ¶
func (c CLPCPolicyInterface) Autorelease() CLPCPolicyInterface
Autorelease adds the receiver to the current autorelease pool.
func (CLPCPolicyInterface) Init ¶
func (c CLPCPolicyInterface) Init() CLPCPolicyInterface
Init initializes the instance.
type CLPCPolicyInterfaceClass ¶
type CLPCPolicyInterfaceClass struct {
// contains filtered or unexported fields
}
func GetCLPCPolicyInterfaceClass ¶
func GetCLPCPolicyInterfaceClass() CLPCPolicyInterfaceClass
GetCLPCPolicyInterfaceClass returns the class object for CLPCPolicyInterface.
func (CLPCPolicyInterfaceClass) Alloc ¶
func (cc CLPCPolicyInterfaceClass) Alloc() CLPCPolicyInterface
Alloc allocates memory for a new instance of the class.
func (CLPCPolicyInterfaceClass) Class ¶
func (cc CLPCPolicyInterfaceClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
func (CLPCPolicyInterfaceClass) CreateClient ¶
func (_CLPCPolicyInterfaceClass CLPCPolicyInterfaceClass) CreateClient(client *objc.ID) objectivec.IObject
type CLPCReportingAccess ¶
type CLPCReportingAccess interface {
objectivec.IObject
// EnableStatsError protocol.
EnableStatsError(stats objectivec.IObject) (bool, error)
// EnabledStats protocol.
EnabledStats() objectivec.IObject
// ReadDeltaStats protocol.
ReadDeltaStats(stats *objc.ID) objectivec.IObject
// ReadStats protocol.
ReadStats(stats *objc.ID) objectivec.IObject
// SchemaIDForStatIDError protocol.
SchemaIDForStatIDError(id uint64) (uint64, error)
// SetNumberOfThreadGroupsError protocol.
SetNumberOfThreadGroupsError(groups objectivec.IObject) error
// SetPreviousTimestampError protocol.
SetPreviousTimestampError(timestamp objectivec.IObject) error
// SetTGSortingMetricError protocol.
SetTGSortingMetricError(metric uint64) (bool, error)
// SupportedStats protocol.
SupportedStats() objectivec.IObject
}
CLPCReportingAccess protocol.
type CLPCReportingAccessObject ¶
type CLPCReportingAccessObject struct {
objectivec.Object
}
CLPCReportingAccessObject wraps an existing Objective-C object that conforms to the CLPCReportingAccess protocol.
func CLPCReportingAccessObjectFromID ¶
func CLPCReportingAccessObjectFromID(id objc.ID) CLPCReportingAccessObject
CLPCReportingAccessObjectFromID constructs a CLPCReportingAccessObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CLPCReportingAccessObject) BaseObject ¶
func (o CLPCReportingAccessObject) BaseObject() objectivec.Object
func (CLPCReportingAccessObject) EnableStatsError ¶
func (o CLPCReportingAccessObject) EnableStatsError(stats objectivec.IObject) (bool, error)
func (CLPCReportingAccessObject) EnabledStats ¶
func (o CLPCReportingAccessObject) EnabledStats() objectivec.IObject
func (CLPCReportingAccessObject) ReadDeltaStats ¶
func (o CLPCReportingAccessObject) ReadDeltaStats(stats *objc.ID) objectivec.IObject
func (CLPCReportingAccessObject) ReadStats ¶
func (o CLPCReportingAccessObject) ReadStats(stats *objc.ID) objectivec.IObject
func (CLPCReportingAccessObject) SchemaIDForStatIDError ¶
func (o CLPCReportingAccessObject) SchemaIDForStatIDError(id uint64) (uint64, error)
func (CLPCReportingAccessObject) SetNumberOfThreadGroupsError ¶
func (o CLPCReportingAccessObject) SetNumberOfThreadGroupsError(groups objectivec.IObject) error
func (CLPCReportingAccessObject) SetPreviousTimestampError ¶
func (o CLPCReportingAccessObject) SetPreviousTimestampError(timestamp objectivec.IObject) error
func (CLPCReportingAccessObject) SetTGSortingMetricError ¶
func (o CLPCReportingAccessObject) SetTGSortingMetricError(metric uint64) (bool, error)
func (CLPCReportingAccessObject) SupportedStats ¶
func (o CLPCReportingAccessObject) SupportedStats() objectivec.IObject
type CLPCReportingClient ¶
type CLPCReportingClient struct {
CLPCUserClient
}
Methods ¶
- CLPCReportingClient.EnableStatsError
- CLPCReportingClient.EnabledStats
- CLPCReportingClient.ReadDeltaStats
- CLPCReportingClient.ReadStats
- CLPCReportingClient.SchemaIDForStatIDError
- CLPCReportingClient.SetNumberOfThreadGroupsError
- CLPCReportingClient.SetPreviousTimestampError
- CLPCReportingClient.SetTGSortingMetricError
- CLPCReportingClient.SupportedStats
func CLPCReportingClientFromID ¶
func CLPCReportingClientFromID(id objc.ID) CLPCReportingClient
CLPCReportingClientFromID constructs a CLPCReportingClient from an objc.ID.
func NewCLPCReportingClient ¶
func NewCLPCReportingClient() CLPCReportingClient
NewCLPCReportingClient creates a new CLPCReportingClient instance.
func NewCLPCReportingClientWithValue ¶
func NewCLPCReportingClientWithValue(init_ *objc.ID) CLPCReportingClient
func (CLPCReportingClient) Autorelease ¶
func (c CLPCReportingClient) Autorelease() CLPCReportingClient
Autorelease adds the receiver to the current autorelease pool.
func (CLPCReportingClient) EnableStatsError ¶
func (c CLPCReportingClient) EnableStatsError(stats objectivec.IObject) (bool, error)
func (CLPCReportingClient) EnabledStats ¶
func (c CLPCReportingClient) EnabledStats() objectivec.IObject
func (CLPCReportingClient) Init ¶
func (c CLPCReportingClient) Init() CLPCReportingClient
Init initializes the instance.
func (CLPCReportingClient) ReadDeltaStats ¶
func (c CLPCReportingClient) ReadDeltaStats(stats *objc.ID) objectivec.IObject
func (CLPCReportingClient) ReadStats ¶
func (c CLPCReportingClient) ReadStats(stats *objc.ID) objectivec.IObject
func (CLPCReportingClient) SchemaIDForStatIDError ¶
func (c CLPCReportingClient) SchemaIDForStatIDError(id uint64) (uint64, error)
func (CLPCReportingClient) SetNumberOfThreadGroupsError ¶
func (c CLPCReportingClient) SetNumberOfThreadGroupsError(groups objectivec.IObject) error
func (CLPCReportingClient) SetPreviousTimestampError ¶
func (c CLPCReportingClient) SetPreviousTimestampError(timestamp objectivec.IObject) error
func (CLPCReportingClient) SetTGSortingMetricError ¶
func (c CLPCReportingClient) SetTGSortingMetricError(metric uint64) (bool, error)
func (CLPCReportingClient) SupportedStats ¶
func (c CLPCReportingClient) SupportedStats() objectivec.IObject
type CLPCReportingClientClass ¶
type CLPCReportingClientClass struct {
// contains filtered or unexported fields
}
func GetCLPCReportingClientClass ¶
func GetCLPCReportingClientClass() CLPCReportingClientClass
GetCLPCReportingClientClass returns the class object for CLPCReportingClient.
func (CLPCReportingClientClass) Alloc ¶
func (cc CLPCReportingClientClass) Alloc() CLPCReportingClient
Alloc allocates memory for a new instance of the class.
func (CLPCReportingClientClass) Class ¶
func (cc CLPCReportingClientClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type CLPCReportingInterface ¶
type CLPCReportingInterface struct {
objectivec.Object
}
func CLPCReportingInterfaceFromID ¶
func CLPCReportingInterfaceFromID(id objc.ID) CLPCReportingInterface
CLPCReportingInterfaceFromID constructs a CLPCReportingInterface from an objc.ID.
func NewCLPCReportingInterface ¶
func NewCLPCReportingInterface() CLPCReportingInterface
NewCLPCReportingInterface creates a new CLPCReportingInterface instance.
func (CLPCReportingInterface) Autorelease ¶
func (c CLPCReportingInterface) Autorelease() CLPCReportingInterface
Autorelease adds the receiver to the current autorelease pool.
func (CLPCReportingInterface) Init ¶
func (c CLPCReportingInterface) Init() CLPCReportingInterface
Init initializes the instance.
type CLPCReportingInterfaceClass ¶
type CLPCReportingInterfaceClass struct {
// contains filtered or unexported fields
}
func GetCLPCReportingInterfaceClass ¶
func GetCLPCReportingInterfaceClass() CLPCReportingInterfaceClass
GetCLPCReportingInterfaceClass returns the class object for CLPCReportingInterface.
func (CLPCReportingInterfaceClass) Alloc ¶
func (cc CLPCReportingInterfaceClass) Alloc() CLPCReportingInterface
Alloc allocates memory for a new instance of the class.
func (CLPCReportingInterfaceClass) Class ¶
func (cc CLPCReportingInterfaceClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
func (CLPCReportingInterfaceClass) CreateClient ¶
func (_CLPCReportingInterfaceClass CLPCReportingInterfaceClass) CreateClient(client *objc.ID) objectivec.IObject
type CLPCReportingReadResult ¶
type CLPCReportingReadResult struct {
objectivec.Object
}
Methods ¶
- CLPCReportingReadResult.Enumerate
- CLPCReportingReadResult.HasRowsForSchemaIDError
- CLPCReportingReadResult.RowsForSchemaIDError
func CLPCReportingReadResultFromID ¶
func CLPCReportingReadResultFromID(id objc.ID) CLPCReportingReadResult
CLPCReportingReadResultFromID constructs a CLPCReportingReadResult from an objc.ID.
func NewCLPCReportingReadResult ¶
func NewCLPCReportingReadResult() CLPCReportingReadResult
NewCLPCReportingReadResult creates a new CLPCReportingReadResult instance.
func (CLPCReportingReadResult) Autorelease ¶
func (c CLPCReportingReadResult) Autorelease() CLPCReportingReadResult
Autorelease adds the receiver to the current autorelease pool.
func (CLPCReportingReadResult) Enumerate ¶
func (c CLPCReportingReadResult) Enumerate(enumerate VoidHandler)
func (CLPCReportingReadResult) EnumerateSync ¶
func (c CLPCReportingReadResult) EnumerateSync(ctx context.Context) error
EnumerateSync is a synchronous wrapper around CLPCReportingReadResult.Enumerate. It blocks until the completion handler fires or the context is cancelled.
func (CLPCReportingReadResult) HasRowsForSchemaIDError ¶
func (c CLPCReportingReadResult) HasRowsForSchemaIDError(id uint64) (uint64, error)
func (CLPCReportingReadResult) Init ¶
func (c CLPCReportingReadResult) Init() CLPCReportingReadResult
Init initializes the instance.
func (CLPCReportingReadResult) RowsForSchemaIDError ¶
func (c CLPCReportingReadResult) RowsForSchemaIDError(id uint64) (objectivec.IObject, error)
type CLPCReportingReadResultClass ¶
type CLPCReportingReadResultClass struct {
// contains filtered or unexported fields
}
func GetCLPCReportingReadResultClass ¶
func GetCLPCReportingReadResultClass() CLPCReportingReadResultClass
GetCLPCReportingReadResultClass returns the class object for CLPCReportingReadResult.
func (CLPCReportingReadResultClass) Alloc ¶
func (cc CLPCReportingReadResultClass) Alloc() CLPCReportingReadResult
Alloc allocates memory for a new instance of the class.
func (CLPCReportingReadResultClass) Class ¶
func (cc CLPCReportingReadResultClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type CLPCReportingRows ¶
type CLPCReportingRows struct {
objectivec.Object
}
Methods ¶
- CLPCReportingRows.Rows
- CLPCReportingRows.SetRows
- CLPCReportingRows.Schema
- CLPCReportingRows.SetSchema
func CLPCReportingRowsFromID ¶
func CLPCReportingRowsFromID(id objc.ID) CLPCReportingRows
CLPCReportingRowsFromID constructs a CLPCReportingRows from an objc.ID.
func NewCLPCReportingRows ¶
func NewCLPCReportingRows() CLPCReportingRows
NewCLPCReportingRows creates a new CLPCReportingRows instance.
func (CLPCReportingRows) Autorelease ¶
func (c CLPCReportingRows) Autorelease() CLPCReportingRows
Autorelease adds the receiver to the current autorelease pool.
func (CLPCReportingRows) Init ¶
func (c CLPCReportingRows) Init() CLPCReportingRows
Init initializes the instance.
func (CLPCReportingRows) Rows ¶
func (c CLPCReportingRows) Rows() foundation.INSArray
func (CLPCReportingRows) Schema ¶
func (c CLPCReportingRows) Schema() ICLPCReportingSchema
func (CLPCReportingRows) SetRows ¶
func (c CLPCReportingRows) SetRows(value foundation.INSArray)
func (CLPCReportingRows) SetSchema ¶
func (c CLPCReportingRows) SetSchema(value ICLPCReportingSchema)
type CLPCReportingRowsClass ¶
type CLPCReportingRowsClass struct {
// contains filtered or unexported fields
}
func GetCLPCReportingRowsClass ¶
func GetCLPCReportingRowsClass() CLPCReportingRowsClass
GetCLPCReportingRowsClass returns the class object for CLPCReportingRows.
func (CLPCReportingRowsClass) Alloc ¶
func (cc CLPCReportingRowsClass) Alloc() CLPCReportingRows
Alloc allocates memory for a new instance of the class.
func (CLPCReportingRowsClass) Class ¶
func (cc CLPCReportingRowsClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type CLPCReportingSchema ¶
type CLPCReportingSchema struct {
objectivec.Object
}
Methods ¶
func CLPCReportingSchemaFromID ¶
func CLPCReportingSchemaFromID(id objc.ID) CLPCReportingSchema
CLPCReportingSchemaFromID constructs a CLPCReportingSchema from an objc.ID.
func NewCLPCReportingSchema ¶
func NewCLPCReportingSchema() CLPCReportingSchema
NewCLPCReportingSchema creates a new CLPCReportingSchema instance.
func (CLPCReportingSchema) Autorelease ¶
func (c CLPCReportingSchema) Autorelease() CLPCReportingSchema
Autorelease adds the receiver to the current autorelease pool.
func (CLPCReportingSchema) Columns ¶
func (c CLPCReportingSchema) Columns() foundation.INSArray
func (CLPCReportingSchema) Init ¶
func (c CLPCReportingSchema) Init() CLPCReportingSchema
Init initializes the instance.
func (CLPCReportingSchema) SchemaID ¶
func (c CLPCReportingSchema) SchemaID() uint64
func (CLPCReportingSchema) SetSchemaID ¶
func (c CLPCReportingSchema) SetSchemaID(value uint64)
type CLPCReportingSchemaClass ¶
type CLPCReportingSchemaClass struct {
// contains filtered or unexported fields
}
func GetCLPCReportingSchemaClass ¶
func GetCLPCReportingSchemaClass() CLPCReportingSchemaClass
GetCLPCReportingSchemaClass returns the class object for CLPCReportingSchema.
func (CLPCReportingSchemaClass) Alloc ¶
func (cc CLPCReportingSchemaClass) Alloc() CLPCReportingSchema
Alloc allocates memory for a new instance of the class.
func (CLPCReportingSchemaClass) Class ¶
func (cc CLPCReportingSchemaClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type CLPCReportingSchemaColumn ¶
type CLPCReportingSchemaColumn struct {
objectivec.Object
}
Methods ¶
- CLPCReportingSchemaColumn.Format
- CLPCReportingSchemaColumn.SetFormat
- CLPCReportingSchemaColumn.MetadataType
- CLPCReportingSchemaColumn.SetMetadataType
- CLPCReportingSchemaColumn.Name
- CLPCReportingSchemaColumn.SetName
- CLPCReportingSchemaColumn.StatID
- CLPCReportingSchemaColumn.SetStatID
- CLPCReportingSchemaColumn.Type
- CLPCReportingSchemaColumn.SetType
- CLPCReportingSchemaColumn.ValueID
- CLPCReportingSchemaColumn.SetValueID
func CLPCReportingSchemaColumnFromID ¶
func CLPCReportingSchemaColumnFromID(id objc.ID) CLPCReportingSchemaColumn
CLPCReportingSchemaColumnFromID constructs a CLPCReportingSchemaColumn from an objc.ID.
func NewCLPCReportingSchemaColumn ¶
func NewCLPCReportingSchemaColumn() CLPCReportingSchemaColumn
NewCLPCReportingSchemaColumn creates a new CLPCReportingSchemaColumn instance.
func (CLPCReportingSchemaColumn) Autorelease ¶
func (c CLPCReportingSchemaColumn) Autorelease() CLPCReportingSchemaColumn
Autorelease adds the receiver to the current autorelease pool.
func (CLPCReportingSchemaColumn) Format ¶
func (c CLPCReportingSchemaColumn) Format() uint64
func (CLPCReportingSchemaColumn) Init ¶
func (c CLPCReportingSchemaColumn) Init() CLPCReportingSchemaColumn
Init initializes the instance.
func (CLPCReportingSchemaColumn) MetadataType ¶
func (c CLPCReportingSchemaColumn) MetadataType() uint64
func (CLPCReportingSchemaColumn) Name ¶
func (c CLPCReportingSchemaColumn) Name() string
func (CLPCReportingSchemaColumn) SetFormat ¶
func (c CLPCReportingSchemaColumn) SetFormat(value uint64)
func (CLPCReportingSchemaColumn) SetMetadataType ¶
func (c CLPCReportingSchemaColumn) SetMetadataType(value uint64)
func (CLPCReportingSchemaColumn) SetName ¶
func (c CLPCReportingSchemaColumn) SetName(value string)
func (CLPCReportingSchemaColumn) SetStatID ¶
func (c CLPCReportingSchemaColumn) SetStatID(value uint64)
func (CLPCReportingSchemaColumn) SetType ¶
func (c CLPCReportingSchemaColumn) SetType(value uint64)
func (CLPCReportingSchemaColumn) SetValueID ¶
func (c CLPCReportingSchemaColumn) SetValueID(value foundation.NSNumber)
func (CLPCReportingSchemaColumn) StatID ¶
func (c CLPCReportingSchemaColumn) StatID() uint64
func (CLPCReportingSchemaColumn) Type ¶
func (c CLPCReportingSchemaColumn) Type() uint64
func (CLPCReportingSchemaColumn) ValueID ¶
func (c CLPCReportingSchemaColumn) ValueID() foundation.NSNumber
type CLPCReportingSchemaColumnClass ¶
type CLPCReportingSchemaColumnClass struct {
// contains filtered or unexported fields
}
func GetCLPCReportingSchemaColumnClass ¶
func GetCLPCReportingSchemaColumnClass() CLPCReportingSchemaColumnClass
GetCLPCReportingSchemaColumnClass returns the class object for CLPCReportingSchemaColumn.
func (CLPCReportingSchemaColumnClass) Alloc ¶
func (cc CLPCReportingSchemaColumnClass) Alloc() CLPCReportingSchemaColumn
Alloc allocates memory for a new instance of the class.
func (CLPCReportingSchemaColumnClass) Class ¶
func (cc CLPCReportingSchemaColumnClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type CLPCReportingStatSelection ¶
type CLPCReportingStatSelection struct {
objectivec.Object
}
Methods ¶
- CLPCReportingStatSelection.DeselectAll
- CLPCReportingStatSelection.DeselectStatError
- CLPCReportingStatSelection.DeselectStatsOfSchemaError
- CLPCReportingStatSelection.Enumerate
- CLPCReportingStatSelection.IsSelectedError
- CLPCReportingStatSelection.SelectAll
- CLPCReportingStatSelection.SelectStatError
- CLPCReportingStatSelection.SelectStatsOfSchemaError
func CLPCReportingStatSelectionFromID ¶
func CLPCReportingStatSelectionFromID(id objc.ID) CLPCReportingStatSelection
CLPCReportingStatSelectionFromID constructs a CLPCReportingStatSelection from an objc.ID.
func NewCLPCReportingStatSelection ¶
func NewCLPCReportingStatSelection() CLPCReportingStatSelection
NewCLPCReportingStatSelection creates a new CLPCReportingStatSelection instance.
func (CLPCReportingStatSelection) Autorelease ¶
func (c CLPCReportingStatSelection) Autorelease() CLPCReportingStatSelection
Autorelease adds the receiver to the current autorelease pool.
func (CLPCReportingStatSelection) DeselectAll ¶
func (c CLPCReportingStatSelection) DeselectAll()
func (CLPCReportingStatSelection) DeselectStatError ¶
func (c CLPCReportingStatSelection) DeselectStatError(stat uint64) (bool, error)
func (CLPCReportingStatSelection) DeselectStatsOfSchemaError ¶
func (c CLPCReportingStatSelection) DeselectStatsOfSchemaError(schema uint64) (bool, error)
func (CLPCReportingStatSelection) Enumerate ¶
func (c CLPCReportingStatSelection) Enumerate(enumerate VoidHandler)
func (CLPCReportingStatSelection) EnumerateSync ¶
func (c CLPCReportingStatSelection) EnumerateSync(ctx context.Context) error
EnumerateSync is a synchronous wrapper around CLPCReportingStatSelection.Enumerate. It blocks until the completion handler fires or the context is cancelled.
func (CLPCReportingStatSelection) Init ¶
func (c CLPCReportingStatSelection) Init() CLPCReportingStatSelection
Init initializes the instance.
func (CLPCReportingStatSelection) IsSelectedError ¶
func (c CLPCReportingStatSelection) IsSelectedError(selected uint64) (uint64, error)
func (CLPCReportingStatSelection) SelectAll ¶
func (c CLPCReportingStatSelection) SelectAll()
func (CLPCReportingStatSelection) SelectStatError ¶
func (c CLPCReportingStatSelection) SelectStatError(stat uint64) (bool, error)
func (CLPCReportingStatSelection) SelectStatsOfSchemaError ¶
func (c CLPCReportingStatSelection) SelectStatsOfSchemaError(schema uint64) (bool, error)
type CLPCReportingStatSelectionClass ¶
type CLPCReportingStatSelectionClass struct {
// contains filtered or unexported fields
}
func GetCLPCReportingStatSelectionClass ¶
func GetCLPCReportingStatSelectionClass() CLPCReportingStatSelectionClass
GetCLPCReportingStatSelectionClass returns the class object for CLPCReportingStatSelection.
func (CLPCReportingStatSelectionClass) Alloc ¶
func (cc CLPCReportingStatSelectionClass) Alloc() CLPCReportingStatSelection
Alloc allocates memory for a new instance of the class.
func (CLPCReportingStatSelectionClass) Class ¶
func (cc CLPCReportingStatSelectionClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type CLPCUserClient ¶
type CLPCUserClient struct {
objectivec.Object
}
Methods ¶
- CLPCUserClient.IsInContextualPowerMode
- CLPCUserClient.IsInDockMode
- CLPCUserClient.IsInGameMode
- CLPCUserClient.IsInHotInPocketMode
- CLPCUserClient.IsInIntelligentBatteryLifeMode
- CLPCUserClient.IsInLowPowerMode
- CLPCUserClient.IsInSustainableMode
- CLPCUserClient.IsInTaskingMode
- CLPCUserClient.ReportingObfuscationData
- CLPCUserClient.SetContextualPowerModeOptionsError
- CLPCUserClient.SetDockModeOptionsError
- CLPCUserClient.SetGameModeOptionsError
- CLPCUserClient.SetGameModeOnProcessTargetProcessOptionsError
- CLPCUserClient.SetHotInPocketModeOptionsError
- CLPCUserClient.SetIntelligentBatteryLifeModeOptionsError
- CLPCUserClient.SetLowPowerModeOptionsError
- CLPCUserClient.SetPowerTargetToTargetWattsWithReasonCodeError
- CLPCUserClient.SetSustainableModeOptionsError
- CLPCUserClient.SetTaskingModeOptionsError
- CLPCUserClient.SetWorkloadPowerBudgetOptionsError
- CLPCUserClient.InitWithValue
func CLPCUserClientFromID ¶
func CLPCUserClientFromID(id objc.ID) CLPCUserClient
CLPCUserClientFromID constructs a CLPCUserClient from an objc.ID.
func NewCLPCUserClient ¶
func NewCLPCUserClient() CLPCUserClient
NewCLPCUserClient creates a new CLPCUserClient instance.
func NewCLPCUserClientWithValue ¶
func NewCLPCUserClientWithValue(init_ *objc.ID) CLPCUserClient
func (CLPCUserClient) Autorelease ¶
func (c CLPCUserClient) Autorelease() CLPCUserClient
Autorelease adds the receiver to the current autorelease pool.
func (CLPCUserClient) Init ¶
func (c CLPCUserClient) Init() CLPCUserClient
Init initializes the instance.
func (CLPCUserClient) InitWithValue ¶
func (c CLPCUserClient) InitWithValue(init_ *objc.ID) CLPCUserClient
func (CLPCUserClient) IsInContextualPowerMode ¶
func (c CLPCUserClient) IsInContextualPowerMode(mode *objc.ID) uint64
func (CLPCUserClient) IsInDockMode ¶
func (c CLPCUserClient) IsInDockMode(mode *objc.ID) uint64
func (CLPCUserClient) IsInGameMode ¶
func (c CLPCUserClient) IsInGameMode(mode *objc.ID) uint64
func (CLPCUserClient) IsInHotInPocketMode ¶
func (c CLPCUserClient) IsInHotInPocketMode(mode *objc.ID) uint64
func (CLPCUserClient) IsInIntelligentBatteryLifeMode ¶
func (c CLPCUserClient) IsInIntelligentBatteryLifeMode(mode *objc.ID) uint64
func (CLPCUserClient) IsInLowPowerMode ¶
func (c CLPCUserClient) IsInLowPowerMode(mode *objc.ID) uint64
func (CLPCUserClient) IsInSustainableMode ¶
func (c CLPCUserClient) IsInSustainableMode(mode *objc.ID) uint64
func (CLPCUserClient) IsInTaskingMode ¶
func (c CLPCUserClient) IsInTaskingMode(mode *objc.ID) uint64
func (CLPCUserClient) ReportingObfuscationData ¶
func (c CLPCUserClient) ReportingObfuscationData(data *objc.ID) objectivec.IObject
func (CLPCUserClient) SetContextualPowerModeOptionsError ¶
func (c CLPCUserClient) SetContextualPowerModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCUserClient) SetDockModeOptionsError ¶
func (c CLPCUserClient) SetDockModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCUserClient) SetGameModeOnProcessTargetProcessOptionsError ¶
func (CLPCUserClient) SetGameModeOptionsError ¶
func (c CLPCUserClient) SetGameModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCUserClient) SetHotInPocketModeOptionsError ¶
func (c CLPCUserClient) SetHotInPocketModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCUserClient) SetIntelligentBatteryLifeModeOptionsError ¶
func (c CLPCUserClient) SetIntelligentBatteryLifeModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCUserClient) SetLowPowerModeOptionsError ¶
func (c CLPCUserClient) SetLowPowerModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCUserClient) SetPowerTargetToTargetWattsWithReasonCodeError ¶
func (CLPCUserClient) SetSustainableModeOptionsError ¶
func (c CLPCUserClient) SetSustainableModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCUserClient) SetTaskingModeOptionsError ¶
func (c CLPCUserClient) SetTaskingModeOptionsError(mode bool, options uint64) (bool, error)
func (CLPCUserClient) SetWorkloadPowerBudgetOptionsError ¶
func (c CLPCUserClient) SetWorkloadPowerBudgetOptionsError(budget float32, options uint64) (bool, error)
type CLPCUserClientClass ¶
type CLPCUserClientClass struct {
// contains filtered or unexported fields
}
func GetCLPCUserClientClass ¶
func GetCLPCUserClientClass() CLPCUserClientClass
GetCLPCUserClientClass returns the class object for CLPCUserClient.
func (CLPCUserClientClass) Alloc ¶
func (cc CLPCUserClientClass) Alloc() CLPCUserClient
Alloc allocates memory for a new instance of the class.
func (CLPCUserClientClass) Class ¶
func (cc CLPCUserClientClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type CLPCUtils ¶
type CLPCUtils struct {
objectivec.Object
}
func CLPCUtilsFromID ¶
CLPCUtilsFromID constructs a CLPCUtils from an objc.ID.
func (CLPCUtils) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
type CLPCUtilsClass ¶
type CLPCUtilsClass struct {
// contains filtered or unexported fields
}
func GetCLPCUtilsClass ¶
func GetCLPCUtilsClass() CLPCUtilsClass
GetCLPCUtilsClass returns the class object for CLPCUtils.
func (CLPCUtilsClass) Alloc ¶
func (cc CLPCUtilsClass) Alloc() CLPCUtils
Alloc allocates memory for a new instance of the class.
func (CLPCUtilsClass) Class ¶
func (cc CLPCUtilsClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type ICLPCPolicyClient ¶
type ICLPCPolicyClient interface {
ICLPCUserClient
IsLowPowerModeCandidateError(candidate uint64) (bool, error)
SetCLPCTrialIDError(id uint64) (bool, error)
}
An interface definition for the CLPCPolicyClient class.
Methods ¶
type ICLPCPolicyInterface ¶
type ICLPCPolicyInterface interface {
objectivec.IObject
}
An interface definition for the CLPCPolicyInterface class.
type ICLPCReportingClient ¶
type ICLPCReportingClient interface {
ICLPCUserClient
EnableStatsError(stats objectivec.IObject) (bool, error)
EnabledStats() objectivec.IObject
ReadDeltaStats(stats *objc.ID) objectivec.IObject
ReadStats(stats *objc.ID) objectivec.IObject
SchemaIDForStatIDError(id uint64) (uint64, error)
SetNumberOfThreadGroupsError(groups objectivec.IObject) error
SetPreviousTimestampError(timestamp objectivec.IObject) error
SetTGSortingMetricError(metric uint64) (bool, error)
SupportedStats() objectivec.IObject
}
An interface definition for the CLPCReportingClient class.
Methods ¶
- ICLPCReportingClient.EnableStatsError
- ICLPCReportingClient.EnabledStats
- ICLPCReportingClient.ReadDeltaStats
- ICLPCReportingClient.ReadStats
- ICLPCReportingClient.SchemaIDForStatIDError
- ICLPCReportingClient.SetNumberOfThreadGroupsError
- ICLPCReportingClient.SetPreviousTimestampError
- ICLPCReportingClient.SetTGSortingMetricError
- ICLPCReportingClient.SupportedStats
type ICLPCReportingInterface ¶
type ICLPCReportingInterface interface {
objectivec.IObject
}
An interface definition for the CLPCReportingInterface class.
type ICLPCReportingReadResult ¶
type ICLPCReportingReadResult interface {
objectivec.IObject
Enumerate(enumerate VoidHandler)
HasRowsForSchemaIDError(id uint64) (uint64, error)
RowsForSchemaIDError(id uint64) (objectivec.IObject, error)
}
An interface definition for the CLPCReportingReadResult class.
Methods ¶
type ICLPCReportingRows ¶
type ICLPCReportingRows interface {
objectivec.IObject
Rows() foundation.INSArray
SetRows(value foundation.INSArray)
Schema() ICLPCReportingSchema
SetSchema(value ICLPCReportingSchema)
}
An interface definition for the CLPCReportingRows class.
Methods ¶
type ICLPCReportingSchema ¶
type ICLPCReportingSchema interface {
objectivec.IObject
Columns() foundation.INSArray
SchemaID() uint64
SetSchemaID(value uint64)
}
An interface definition for the CLPCReportingSchema class.
Methods ¶
type ICLPCReportingSchemaColumn ¶
type ICLPCReportingSchemaColumn interface {
objectivec.IObject
Format() uint64
SetFormat(value uint64)
MetadataType() uint64
SetMetadataType(value uint64)
Name() string
SetName(value string)
StatID() uint64
SetStatID(value uint64)
Type() uint64
SetType(value uint64)
ValueID() foundation.NSNumber
SetValueID(value foundation.NSNumber)
}
An interface definition for the CLPCReportingSchemaColumn class.
Methods ¶
- ICLPCReportingSchemaColumn.Format
- ICLPCReportingSchemaColumn.SetFormat
- ICLPCReportingSchemaColumn.MetadataType
- ICLPCReportingSchemaColumn.SetMetadataType
- ICLPCReportingSchemaColumn.Name
- ICLPCReportingSchemaColumn.SetName
- ICLPCReportingSchemaColumn.StatID
- ICLPCReportingSchemaColumn.SetStatID
- ICLPCReportingSchemaColumn.Type
- ICLPCReportingSchemaColumn.SetType
- ICLPCReportingSchemaColumn.ValueID
- ICLPCReportingSchemaColumn.SetValueID
type ICLPCReportingStatSelection ¶
type ICLPCReportingStatSelection interface {
objectivec.IObject
DeselectAll()
DeselectStatError(stat uint64) (bool, error)
DeselectStatsOfSchemaError(schema uint64) (bool, error)
Enumerate(enumerate VoidHandler)
IsSelectedError(selected uint64) (uint64, error)
SelectAll()
SelectStatError(stat uint64) (bool, error)
SelectStatsOfSchemaError(schema uint64) (bool, error)
}
An interface definition for the CLPCReportingStatSelection class.
Methods ¶
- ICLPCReportingStatSelection.DeselectAll
- ICLPCReportingStatSelection.DeselectStatError
- ICLPCReportingStatSelection.DeselectStatsOfSchemaError
- ICLPCReportingStatSelection.Enumerate
- ICLPCReportingStatSelection.IsSelectedError
- ICLPCReportingStatSelection.SelectAll
- ICLPCReportingStatSelection.SelectStatError
- ICLPCReportingStatSelection.SelectStatsOfSchemaError
type ICLPCUserClient ¶
type ICLPCUserClient interface {
objectivec.IObject
IsInContextualPowerMode(mode *objc.ID) uint64
IsInDockMode(mode *objc.ID) uint64
IsInGameMode(mode *objc.ID) uint64
IsInHotInPocketMode(mode *objc.ID) uint64
IsInIntelligentBatteryLifeMode(mode *objc.ID) uint64
IsInLowPowerMode(mode *objc.ID) uint64
IsInSustainableMode(mode *objc.ID) uint64
IsInTaskingMode(mode *objc.ID) uint64
ReportingObfuscationData(data *objc.ID) objectivec.IObject
SetContextualPowerModeOptionsError(mode bool, options uint64) (bool, error)
SetDockModeOptionsError(mode bool, options uint64) (bool, error)
SetGameModeOptionsError(mode bool, options uint64) (bool, error)
SetGameModeOnProcessTargetProcessOptionsError(process bool, process2 int32, options uint64) (bool, error)
SetHotInPocketModeOptionsError(mode bool, options uint64) (bool, error)
SetIntelligentBatteryLifeModeOptionsError(mode bool, options uint64) (bool, error)
SetLowPowerModeOptionsError(mode bool, options uint64) (bool, error)
SetPowerTargetToTargetWattsWithReasonCodeError(target uint64, watts float32, code int32) (bool, error)
SetSustainableModeOptionsError(mode bool, options uint64) (bool, error)
SetTaskingModeOptionsError(mode bool, options uint64) (bool, error)
SetWorkloadPowerBudgetOptionsError(budget float32, options uint64) (bool, error)
InitWithValue(init_ *objc.ID) CLPCUserClient
}
An interface definition for the CLPCUserClient class.
Methods ¶
- ICLPCUserClient.IsInContextualPowerMode
- ICLPCUserClient.IsInDockMode
- ICLPCUserClient.IsInGameMode
- ICLPCUserClient.IsInHotInPocketMode
- ICLPCUserClient.IsInIntelligentBatteryLifeMode
- ICLPCUserClient.IsInLowPowerMode
- ICLPCUserClient.IsInSustainableMode
- ICLPCUserClient.IsInTaskingMode
- ICLPCUserClient.ReportingObfuscationData
- ICLPCUserClient.SetContextualPowerModeOptionsError
- ICLPCUserClient.SetDockModeOptionsError
- ICLPCUserClient.SetGameModeOptionsError
- ICLPCUserClient.SetGameModeOnProcessTargetProcessOptionsError
- ICLPCUserClient.SetHotInPocketModeOptionsError
- ICLPCUserClient.SetIntelligentBatteryLifeModeOptionsError
- ICLPCUserClient.SetLowPowerModeOptionsError
- ICLPCUserClient.SetPowerTargetToTargetWattsWithReasonCodeError
- ICLPCUserClient.SetSustainableModeOptionsError
- ICLPCUserClient.SetTaskingModeOptionsError
- ICLPCUserClient.SetWorkloadPowerBudgetOptionsError
- ICLPCUserClient.InitWithValue
type ICLPCUtils ¶
type ICLPCUtils interface {
objectivec.IObject
}
An interface definition for the CLPCUtils class.
type IOReportSubscriptionCFRef ¶
type IOReportSubscriptionCFRef = _undefined
type LPGMInfo ¶
type LPGMInfo struct {
Info ResponseInfo
Package_energy_nj uint64
Lpgm_timestamp uint64
Lpgm_target float32
}
LPGMInfo
type ResponseInfo ¶
ResponseInfo
type Subscription ¶
type Subscription struct {
Subscription IOReportSubscriptionCFRef
Subscribed_channels *foundation.NSMutableDictionary
}
Subscription
type VoidHandler ¶
type VoidHandler = func()
VoidHandler is the signature for a completion handler block.
Used by:
Source Files
¶
- blocks.gen.go
- clpc_policy_client.gen.go
- clpc_policy_interface.gen.go
- clpc_reporting_client.gen.go
- clpc_reporting_interface.gen.go
- clpc_reporting_read_result.gen.go
- clpc_reporting_rows.gen.go
- clpc_reporting_schema.gen.go
- clpc_reporting_schema_column.gen.go
- clpc_reporting_stat_selection.gen.go
- clpc_user_client.gen.go
- clpc_utils.gen.go
- doc.gen.go
- functions.gen.go
- generate.go
- pc_policy_access_protocol.gen.go
- pc_reporting_access_protocol.gen.go
- types.gen.go
- undefined_types.gen.go