Documentation
¶
Overview ¶
Package gpurawcounter provides Go bindings for the gpurawcounter framework.
Key Types ¶
- GPURawCounterSource
- GPURawCounterSourceGroup
- GPURawCounterSelect
- GPURawCounterSourceTriggerSelect
- GPURawCounter
- GPURawCounterSourceTrigger
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- func BindFunc(fptr any, name string) (err error)
- func NewUint64Uint64Uint64Block(handler Uint64Uint64Uint64Handler) (objc.ID, func())
- func NewVoidBlock(handler VoidHandler) (objc.ID, func())
- func SymbolAddress(name string) (uintptr, error)
- type GPURawCounter
- func (g GPURawCounter) Autorelease() GPURawCounter
- func (g GPURawCounter) CounterValueType() uint64
- func (g GPURawCounter) Description() string
- func (g GPURawCounter) Init() GPURawCounter
- func (g GPURawCounter) InitWithNameDescriptionValueType(name objectivec.IObject, description objectivec.IObject, type_ uint64) GPURawCounter
- func (g GPURawCounter) Name() string
- type GPURawCounterClass
- type GPURawCounterProtocol
- type GPURawCounterProtocolObject
- type GPURawCounterSelect
- func (g GPURawCounterSelect) Autorelease() GPURawCounterSelect
- func (g GPURawCounterSelect) Init() GPURawCounterSelect
- func (g GPURawCounterSelect) InitWithNameOptions(name objectivec.IObject, options objectivec.IObject) GPURawCounterSelect
- func (g GPURawCounterSelect) Name() string
- func (g GPURawCounterSelect) Options() foundation.INSDictionary
- type GPURawCounterSelectClass
- type GPURawCounterSource
- func (g GPURawCounterSource) Autorelease() GPURawCounterSource
- func (g GPURawCounterSource) AvailableCounters() objectivec.IObject
- func (g GPURawCounterSource) AvailableTriggers() objectivec.IObject
- func (g GPURawCounterSource) DebugDescription() string
- func (g GPURawCounterSource) Description() string
- func (g GPURawCounterSource) DrainRingBufferAtIndexDataSize(index uint32, size uint32) uint32
- func (g GPURawCounterSource) DrainRingBufferAtIndexDataSizeError(index uint32, size uint32) (uint32, error)
- func (g GPURawCounterSource) Features() foundation.INSDictionary
- func (g GPURawCounterSource) FlushRingBuffers()
- func (g GPURawCounterSource) Hash() uint64
- func (g GPURawCounterSource) Init() GPURawCounterSource
- func (g GPURawCounterSource) InitWithSourceGroupName(group objectivec.IObject, name objectivec.IObject) GPURawCounterSource
- func (g GPURawCounterSource) IsEnabled() bool
- func (g GPURawCounterSource) Name() string
- func (g GPURawCounterSource) Options() foundation.INSDictionary
- func (g GPURawCounterSource) PollCountersAtBufferIndexWithBlock(index uint32, block VoidHandler) bool
- func (g GPURawCounterSource) PollCountersAtBufferIndexWithBlockError(index uint32, block func()) (bool, error)
- func (g GPURawCounterSource) PollCountersAtBufferIndexWithBlockSync(ctx context.Context, index uint32) error
- func (g GPURawCounterSource) PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast(index uint32, source string, size uint64, write uint64, output string, ...) (uint64, uint64, bool)
- func (g GPURawCounterSource) PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError(index uint32, source string, size uint64, write uint64, output string, ...) (uint64, uint64, error)
- func (g GPURawCounterSource) PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast(source string, size uint64, write uint64, output string, size2 uint64, ...) (uint64, uint64, bool)
- func (g GPURawCounterSource) PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError(source string, size uint64, write uint64, output string, size2 uint64, ...) (uint64, uint64, error)
- func (g GPURawCounterSource) PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLast(source string, size uint64, output string, size2 uint64, last bool) (uint64, uint64, bool)
- func (g GPURawCounterSource) PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLastError(source string, size uint64, output string, size2 uint64, last bool) (uint64, uint64, error)
- func (g GPURawCounterSource) RequestCountersFirstErrorIndex(counters objectivec.IObject) (uint64, bool)
- func (g GPURawCounterSource) RequestCountersFirstErrorIndexError(counters objectivec.IObject) (uint64, error)
- func (g GPURawCounterSource) RequestTriggersFirstErrorIndex(triggers objectivec.IObject) (uint64, bool)
- func (g GPURawCounterSource) RequestTriggersFirstErrorIndexError(triggers objectivec.IObject) (uint64, error)
- func (g GPURawCounterSource) ResetRawDataPostProcessor()
- func (g GPURawCounterSource) RingBufferInfoAtIndexBaseSizeDataOffsetDataSize(index uint32, base *int8, size *uint32, offset *uint32, size2 *uint32) bool
- func (g GPURawCounterSource) RingBufferInfoAtIndexBaseSizeDataOffsetDataSizeError(index uint32, base *int8, size *uint32, offset *uint32, size2 *uint32) (bool, error)
- func (g GPURawCounterSource) RingBufferNum() uint32
- func (g GPURawCounterSource) SelectedCounters() objectivec.IObject
- func (g GPURawCounterSource) SelectedTriggers() objectivec.IObject
- func (g GPURawCounterSource) SetEnabled(enabled bool) bool
- func (g GPURawCounterSource) SetEnabledError(enabled bool) (bool, error)
- func (g GPURawCounterSource) SetOptions(value foundation.INSDictionary)
- func (g GPURawCounterSource) SourceGroup() unsafe.Pointer
- func (g GPURawCounterSource) Superclass() objc.Class
- type GPURawCounterSourceClass
- type GPURawCounterSourceGroup
- func (g GPURawCounterSourceGroup) AcceleratorPort() uint32
- func (g GPURawCounterSourceGroup) Autorelease() GPURawCounterSourceGroup
- func (g GPURawCounterSourceGroup) DebugDescription() string
- func (g GPURawCounterSourceGroup) Description() string
- func (g GPURawCounterSourceGroup) Features() foundation.INSDictionary
- func (g GPURawCounterSourceGroup) Hash() uint64
- func (g GPURawCounterSourceGroup) Init() GPURawCounterSourceGroup
- func (g GPURawCounterSourceGroup) InitWithAcceleratorPort(port uint32) GPURawCounterSourceGroup
- func (g GPURawCounterSourceGroup) Name() string
- func (g GPURawCounterSourceGroup) Options() foundation.INSDictionary
- func (g GPURawCounterSourceGroup) SampleMarker() uint64
- func (g GPURawCounterSourceGroup) SetOptions(value foundation.INSDictionary)
- func (g GPURawCounterSourceGroup) SourceList() foundation.INSArray
- func (g GPURawCounterSourceGroup) StartSampling() bool
- func (g GPURawCounterSourceGroup) StartSamplingWithError() (bool, error)
- func (g GPURawCounterSourceGroup) StopSampling() bool
- func (g GPURawCounterSourceGroup) StopSamplingWithError() (bool, error)
- func (g GPURawCounterSourceGroup) SubDivideCounterListWithOptions(list objectivec.IObject, options objectivec.IObject) objectivec.IObject
- func (g GPURawCounterSourceGroup) Superclass() objc.Class
- type GPURawCounterSourceGroupClass
- type GPURawCounterSourceGroupProtocol
- type GPURawCounterSourceGroupProtocolObject
- func (o GPURawCounterSourceGroupProtocolObject) AcceleratorPort() uint32
- func (o GPURawCounterSourceGroupProtocolObject) BaseObject() objectivec.Object
- func (o GPURawCounterSourceGroupProtocolObject) Features() objectivec.IObject
- func (o GPURawCounterSourceGroupProtocolObject) Name() objectivec.IObject
- func (o GPURawCounterSourceGroupProtocolObject) Options() objectivec.IObject
- func (o GPURawCounterSourceGroupProtocolObject) SampleMarker() uint64
- func (o GPURawCounterSourceGroupProtocolObject) SetOptions(options objectivec.IObject)
- func (o GPURawCounterSourceGroupProtocolObject) SourceList() objectivec.IObject
- func (o GPURawCounterSourceGroupProtocolObject) StartSampling() bool
- func (o GPURawCounterSourceGroupProtocolObject) StartSamplingWithError() (bool, error)
- func (o GPURawCounterSourceGroupProtocolObject) StopSampling() bool
- func (o GPURawCounterSourceGroupProtocolObject) StopSamplingWithError() (bool, error)
- func (o GPURawCounterSourceGroupProtocolObject) SubDivideCounterListWithOptions(list objectivec.IObject, options objectivec.IObject) objectivec.IObject
- type GPURawCounterSourceProtocol
- type GPURawCounterSourceProtocolObject
- func (o GPURawCounterSourceProtocolObject) AvailableCounters() objectivec.IObject
- func (o GPURawCounterSourceProtocolObject) AvailableTriggers() objectivec.IObject
- func (o GPURawCounterSourceProtocolObject) BaseObject() objectivec.Object
- func (o GPURawCounterSourceProtocolObject) DrainRingBufferAtIndexDataSize(index uint32, size uint32) uint32
- func (o GPURawCounterSourceProtocolObject) DrainRingBufferAtIndexDataSizeError(index uint32, size uint32) (uint32, error)
- func (o GPURawCounterSourceProtocolObject) Features() objectivec.IObject
- func (o GPURawCounterSourceProtocolObject) FlushRingBuffers()
- func (o GPURawCounterSourceProtocolObject) IsEnabled() bool
- func (o GPURawCounterSourceProtocolObject) Name() objectivec.IObject
- func (o GPURawCounterSourceProtocolObject) Options() objectivec.IObject
- func (o GPURawCounterSourceProtocolObject) PollCountersAtBufferIndexWithBlock(index uint32, block Uint64Uint64Uint64Handler) bool
- func (o GPURawCounterSourceProtocolObject) PollCountersAtBufferIndexWithBlockError(index uint32, block func(*uint64, uint64, uint64)) (bool, error)
- func (o GPURawCounterSourceProtocolObject) PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast(index uint32, source string, size uint64, write uint64, output string, ...) (uint64, uint64, bool)
- func (o GPURawCounterSourceProtocolObject) PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError(index uint32, source string, size uint64, write uint64, output string, ...) (uint64, uint64, error)
- func (o GPURawCounterSourceProtocolObject) PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast(source string, size uint64, write uint64, output string, size2 uint64, ...) (uint64, uint64, bool)
- func (o GPURawCounterSourceProtocolObject) PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError(source string, size uint64, write uint64, output string, size2 uint64, ...) (uint64, uint64, error)
- func (o GPURawCounterSourceProtocolObject) PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLast(source string, size uint64, output string, size2 uint64, last bool) (uint64, uint64, bool)
- func (o GPURawCounterSourceProtocolObject) PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLastError(source string, size uint64, output string, size2 uint64, last bool) (uint64, uint64, error)
- func (o GPURawCounterSourceProtocolObject) RequestCountersFirstErrorIndex(counters objectivec.IObject) (uint64, bool)
- func (o GPURawCounterSourceProtocolObject) RequestCountersFirstErrorIndexError(counters objectivec.IObject) (uint64, error)
- func (o GPURawCounterSourceProtocolObject) RequestTriggersFirstErrorIndex(triggers objectivec.IObject) (uint64, bool)
- func (o GPURawCounterSourceProtocolObject) RequestTriggersFirstErrorIndexError(triggers objectivec.IObject) (uint64, error)
- func (o GPURawCounterSourceProtocolObject) ResetRawDataPostProcessor()
- func (o GPURawCounterSourceProtocolObject) RingBufferInfoAtIndexBaseSizeDataOffsetDataSize(index uint32, base *int8, size *uint32, offset *uint32, size2 *uint32) bool
- func (o GPURawCounterSourceProtocolObject) RingBufferInfoAtIndexBaseSizeDataOffsetDataSizeError(index uint32, base *int8, size *uint32, offset *uint32, size2 *uint32) (bool, error)
- func (o GPURawCounterSourceProtocolObject) RingBufferNum() uint32
- func (o GPURawCounterSourceProtocolObject) SelectedCounters() objectivec.IObject
- func (o GPURawCounterSourceProtocolObject) SelectedTriggers() objectivec.IObject
- func (o GPURawCounterSourceProtocolObject) SetEnabled(enabled bool) bool
- func (o GPURawCounterSourceProtocolObject) SetEnabledError(enabled bool) (bool, error)
- func (o GPURawCounterSourceProtocolObject) SetOptions(options objectivec.IObject)
- func (o GPURawCounterSourceProtocolObject) SourceGroup() objectivec.IObject
- type GPURawCounterSourceTrigger
- func (g GPURawCounterSourceTrigger) Autorelease() GPURawCounterSourceTrigger
- func (g GPURawCounterSourceTrigger) Description() string
- func (g GPURawCounterSourceTrigger) Init() GPURawCounterSourceTrigger
- func (g GPURawCounterSourceTrigger) InitWithNameDescriptionOptions(name objectivec.IObject, description objectivec.IObject, ...) GPURawCounterSourceTrigger
- func (g GPURawCounterSourceTrigger) Name() string
- func (g GPURawCounterSourceTrigger) Options() foundation.INSDictionary
- type GPURawCounterSourceTriggerClass
- type GPURawCounterSourceTriggerProtocol
- type GPURawCounterSourceTriggerProtocolObject
- func (o GPURawCounterSourceTriggerProtocolObject) BaseObject() objectivec.Object
- func (o GPURawCounterSourceTriggerProtocolObject) Description() objectivec.IObject
- func (o GPURawCounterSourceTriggerProtocolObject) Name() objectivec.IObject
- func (o GPURawCounterSourceTriggerProtocolObject) Options() objectivec.IObject
- type GPURawCounterSourceTriggerSelect
- func GPURawCounterSourceTriggerSelectFromID(id objc.ID) GPURawCounterSourceTriggerSelect
- func NewGPURawCounterSourceTriggerSelect() GPURawCounterSourceTriggerSelect
- func NewGPURawCounterSourceTriggerSelectWithNameOptions(name objectivec.IObject, options objectivec.IObject) GPURawCounterSourceTriggerSelect
- func (g GPURawCounterSourceTriggerSelect) Autorelease() GPURawCounterSourceTriggerSelect
- func (g GPURawCounterSourceTriggerSelect) Init() GPURawCounterSourceTriggerSelect
- func (g GPURawCounterSourceTriggerSelect) InitWithNameOptions(name objectivec.IObject, options objectivec.IObject) GPURawCounterSourceTriggerSelect
- func (g GPURawCounterSourceTriggerSelect) Name() string
- func (g GPURawCounterSourceTriggerSelect) Options() foundation.INSDictionary
- type GPURawCounterSourceTriggerSelectClass
- func (gc GPURawCounterSourceTriggerSelectClass) Alloc() GPURawCounterSourceTriggerSelect
- func (gc GPURawCounterSourceTriggerSelectClass) Class() objc.Class
- func (_GPURawCounterSourceTriggerSelectClass GPURawCounterSourceTriggerSelectClass) SelectWithNameOptions(name objectivec.IObject, options objectivec.IObject) objectivec.IObject
- type IGPURawCounter
- type IGPURawCounterSelect
- type IGPURawCounterSource
- type IGPURawCounterSourceGroup
- type IGPURawCounterSourceTrigger
- type IGPURawCounterSourceTriggerSelect
- type Uint64Uint64Uint64Handler
- type VoidHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindFunc ¶
BindFunc binds the gpurawcounter 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 NewUint64Uint64Uint64Block ¶
func NewUint64Uint64Uint64Block(handler Uint64Uint64Uint64Handler) (objc.ID, func())
NewUint64Uint64Uint64Block wraps a Go Uint64Uint64Uint64Handler as an Objective-C block. The caller must defer the returned cleanup function.
Used by:
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 gpurawcounter, 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 GPURawCounter ¶
type GPURawCounter struct {
objectivec.Object
}
Methods ¶
- GPURawCounter.CounterValueType
- GPURawCounter.Name
- GPURawCounter.InitWithNameDescriptionValueType
- GPURawCounter.Description
func GPURawCounterFromID ¶
func GPURawCounterFromID(id objc.ID) GPURawCounter
GPURawCounterFromID constructs a GPURawCounter from an objc.ID.
func NewGPURawCounter ¶
func NewGPURawCounter() GPURawCounter
NewGPURawCounter creates a new GPURawCounter instance.
func NewGPURawCounterWithNameDescriptionValueType ¶
func NewGPURawCounterWithNameDescriptionValueType(name objectivec.IObject, description objectivec.IObject, type_ uint64) GPURawCounter
func (GPURawCounter) Autorelease ¶
func (g GPURawCounter) Autorelease() GPURawCounter
Autorelease adds the receiver to the current autorelease pool.
func (GPURawCounter) CounterValueType ¶
func (g GPURawCounter) CounterValueType() uint64
func (GPURawCounter) Description ¶
func (g GPURawCounter) Description() string
func (GPURawCounter) Init ¶
func (g GPURawCounter) Init() GPURawCounter
Init initializes the instance.
func (GPURawCounter) InitWithNameDescriptionValueType ¶
func (g GPURawCounter) InitWithNameDescriptionValueType(name objectivec.IObject, description objectivec.IObject, type_ uint64) GPURawCounter
func (GPURawCounter) Name ¶
func (g GPURawCounter) Name() string
type GPURawCounterClass ¶
type GPURawCounterClass struct {
// contains filtered or unexported fields
}
func GetGPURawCounterClass ¶
func GetGPURawCounterClass() GPURawCounterClass
GetGPURawCounterClass returns the class object for _GPURawCounter.
func (GPURawCounterClass) Alloc ¶
func (gc GPURawCounterClass) Alloc() GPURawCounter
Alloc allocates memory for a new instance of the class.
func (GPURawCounterClass) Class ¶
func (gc GPURawCounterClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type GPURawCounterProtocol ¶
type GPURawCounterProtocol interface {
objectivec.IObject
// CounterValueType protocol.
CounterValueType() uint64
// Description protocol.
Description() objectivec.IObject
// Name protocol.
Name() objectivec.IObject
}
GPURawCounter protocol.
type GPURawCounterProtocolObject ¶
type GPURawCounterProtocolObject struct {
objectivec.Object
}
GPURawCounterProtocolObject wraps an existing Objective-C object that conforms to the GPURawCounterProtocol protocol.
func GPURawCounterProtocolObjectFromID ¶
func GPURawCounterProtocolObjectFromID(id objc.ID) GPURawCounterProtocolObject
GPURawCounterProtocolObjectFromID constructs a GPURawCounterProtocolObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (GPURawCounterProtocolObject) BaseObject ¶
func (o GPURawCounterProtocolObject) BaseObject() objectivec.Object
func (GPURawCounterProtocolObject) CounterValueType ¶
func (o GPURawCounterProtocolObject) CounterValueType() uint64
func (GPURawCounterProtocolObject) Description ¶
func (o GPURawCounterProtocolObject) Description() objectivec.IObject
func (GPURawCounterProtocolObject) Name ¶
func (o GPURawCounterProtocolObject) Name() objectivec.IObject
type GPURawCounterSelect ¶
type GPURawCounterSelect struct {
objectivec.Object
}
Methods ¶
func GPURawCounterSelectFromID ¶
func GPURawCounterSelectFromID(id objc.ID) GPURawCounterSelect
GPURawCounterSelectFromID constructs a GPURawCounterSelect from an objc.ID.
func NewGPURawCounterSelect ¶
func NewGPURawCounterSelect() GPURawCounterSelect
NewGPURawCounterSelect creates a new GPURawCounterSelect instance.
func NewGPURawCounterSelectWithNameOptions ¶
func NewGPURawCounterSelectWithNameOptions(name objectivec.IObject, options objectivec.IObject) GPURawCounterSelect
func (GPURawCounterSelect) Autorelease ¶
func (g GPURawCounterSelect) Autorelease() GPURawCounterSelect
Autorelease adds the receiver to the current autorelease pool.
func (GPURawCounterSelect) Init ¶
func (g GPURawCounterSelect) Init() GPURawCounterSelect
Init initializes the instance.
func (GPURawCounterSelect) InitWithNameOptions ¶
func (g GPURawCounterSelect) InitWithNameOptions(name objectivec.IObject, options objectivec.IObject) GPURawCounterSelect
func (GPURawCounterSelect) Name ¶
func (g GPURawCounterSelect) Name() string
func (GPURawCounterSelect) Options ¶
func (g GPURawCounterSelect) Options() foundation.INSDictionary
type GPURawCounterSelectClass ¶
type GPURawCounterSelectClass struct {
// contains filtered or unexported fields
}
func GetGPURawCounterSelectClass ¶
func GetGPURawCounterSelectClass() GPURawCounterSelectClass
GetGPURawCounterSelectClass returns the class object for GPURawCounterSelect.
func (GPURawCounterSelectClass) Alloc ¶
func (gc GPURawCounterSelectClass) Alloc() GPURawCounterSelect
Alloc allocates memory for a new instance of the class.
func (GPURawCounterSelectClass) Class ¶
func (gc GPURawCounterSelectClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
func (GPURawCounterSelectClass) SelectWithNameOptions ¶
func (_GPURawCounterSelectClass GPURawCounterSelectClass) SelectWithNameOptions(name objectivec.IObject, options objectivec.IObject) objectivec.IObject
type GPURawCounterSource ¶
type GPURawCounterSource struct {
objectivec.Object
}
Methods ¶
- GPURawCounterSource.AvailableCounters
- GPURawCounterSource.AvailableTriggers
- GPURawCounterSource.DrainRingBufferAtIndexDataSize
- GPURawCounterSource.DrainRingBufferAtIndexDataSizeError
- GPURawCounterSource.Features
- GPURawCounterSource.FlushRingBuffers
- GPURawCounterSource.IsEnabled
- GPURawCounterSource.Name
- GPURawCounterSource.Options
- GPURawCounterSource.SetOptions
- GPURawCounterSource.PollCountersAtBufferIndexWithBlock
- GPURawCounterSource.PollCountersAtBufferIndexWithBlockError
- GPURawCounterSource.PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast
- GPURawCounterSource.PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError
- GPURawCounterSource.PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast
- GPURawCounterSource.PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError
- GPURawCounterSource.PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLast
- GPURawCounterSource.PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLastError
- GPURawCounterSource.RequestCountersFirstErrorIndex
- GPURawCounterSource.RequestCountersFirstErrorIndexError
- GPURawCounterSource.RequestTriggersFirstErrorIndex
- GPURawCounterSource.RequestTriggersFirstErrorIndexError
- GPURawCounterSource.ResetRawDataPostProcessor
- GPURawCounterSource.RingBufferInfoAtIndexBaseSizeDataOffsetDataSize
- GPURawCounterSource.RingBufferInfoAtIndexBaseSizeDataOffsetDataSizeError
- GPURawCounterSource.RingBufferNum
- GPURawCounterSource.SelectedCounters
- GPURawCounterSource.SelectedTriggers
- GPURawCounterSource.SetEnabled
- GPURawCounterSource.SetEnabledError
- GPURawCounterSource.SourceGroup
- GPURawCounterSource.InitWithSourceGroupName
- GPURawCounterSource.DebugDescription
- GPURawCounterSource.Description
- GPURawCounterSource.Hash
- GPURawCounterSource.Superclass
func GPURawCounterSourceFromID ¶
func GPURawCounterSourceFromID(id objc.ID) GPURawCounterSource
GPURawCounterSourceFromID constructs a GPURawCounterSource from an objc.ID.
func NewGPURawCounterSource ¶
func NewGPURawCounterSource() GPURawCounterSource
NewGPURawCounterSource creates a new GPURawCounterSource instance.
func NewGPURawCounterSourceWithSourceGroupName ¶
func NewGPURawCounterSourceWithSourceGroupName(group objectivec.IObject, name objectivec.IObject) GPURawCounterSource
func (GPURawCounterSource) Autorelease ¶
func (g GPURawCounterSource) Autorelease() GPURawCounterSource
Autorelease adds the receiver to the current autorelease pool.
func (GPURawCounterSource) AvailableCounters ¶
func (g GPURawCounterSource) AvailableCounters() objectivec.IObject
func (GPURawCounterSource) AvailableTriggers ¶
func (g GPURawCounterSource) AvailableTriggers() objectivec.IObject
func (GPURawCounterSource) DebugDescription ¶
func (g GPURawCounterSource) DebugDescription() string
func (GPURawCounterSource) Description ¶
func (g GPURawCounterSource) Description() string
func (GPURawCounterSource) DrainRingBufferAtIndexDataSize ¶
func (g GPURawCounterSource) DrainRingBufferAtIndexDataSize(index uint32, size uint32) uint32
func (GPURawCounterSource) DrainRingBufferAtIndexDataSizeError ¶
func (g GPURawCounterSource) DrainRingBufferAtIndexDataSizeError(index uint32, size uint32) (uint32, error)
func (GPURawCounterSource) Features ¶
func (g GPURawCounterSource) Features() foundation.INSDictionary
func (GPURawCounterSource) FlushRingBuffers ¶
func (g GPURawCounterSource) FlushRingBuffers()
func (GPURawCounterSource) Hash ¶
func (g GPURawCounterSource) Hash() uint64
func (GPURawCounterSource) Init ¶
func (g GPURawCounterSource) Init() GPURawCounterSource
Init initializes the instance.
func (GPURawCounterSource) InitWithSourceGroupName ¶
func (g GPURawCounterSource) InitWithSourceGroupName(group objectivec.IObject, name objectivec.IObject) GPURawCounterSource
func (GPURawCounterSource) IsEnabled ¶
func (g GPURawCounterSource) IsEnabled() bool
func (GPURawCounterSource) Name ¶
func (g GPURawCounterSource) Name() string
func (GPURawCounterSource) Options ¶
func (g GPURawCounterSource) Options() foundation.INSDictionary
func (GPURawCounterSource) PollCountersAtBufferIndexWithBlock ¶
func (g GPURawCounterSource) PollCountersAtBufferIndexWithBlock(index uint32, block VoidHandler) bool
func (GPURawCounterSource) PollCountersAtBufferIndexWithBlockError ¶
func (g GPURawCounterSource) PollCountersAtBufferIndexWithBlockError(index uint32, block func()) (bool, error)
func (GPURawCounterSource) PollCountersAtBufferIndexWithBlockSync ¶
func (g GPURawCounterSource) PollCountersAtBufferIndexWithBlockSync(ctx context.Context, index uint32) error
PollCountersAtBufferIndexWithBlockSync is a synchronous wrapper around GPURawCounterSource.PollCountersAtBufferIndexWithBlock. It blocks until the completion handler fires or the context is cancelled.
func (GPURawCounterSource) PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast ¶
func (GPURawCounterSource) PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError ¶
func (GPURawCounterSource) PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast ¶
func (GPURawCounterSource) PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError ¶
func (GPURawCounterSource) PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLast ¶
func (GPURawCounterSource) PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLastError ¶
func (GPURawCounterSource) RequestCountersFirstErrorIndex ¶
func (g GPURawCounterSource) RequestCountersFirstErrorIndex(counters objectivec.IObject) (uint64, bool)
func (GPURawCounterSource) RequestCountersFirstErrorIndexError ¶
func (g GPURawCounterSource) RequestCountersFirstErrorIndexError(counters objectivec.IObject) (uint64, error)
func (GPURawCounterSource) RequestTriggersFirstErrorIndex ¶
func (g GPURawCounterSource) RequestTriggersFirstErrorIndex(triggers objectivec.IObject) (uint64, bool)
func (GPURawCounterSource) RequestTriggersFirstErrorIndexError ¶
func (g GPURawCounterSource) RequestTriggersFirstErrorIndexError(triggers objectivec.IObject) (uint64, error)
func (GPURawCounterSource) ResetRawDataPostProcessor ¶
func (g GPURawCounterSource) ResetRawDataPostProcessor()
func (GPURawCounterSource) RingBufferInfoAtIndexBaseSizeDataOffsetDataSize ¶
func (GPURawCounterSource) RingBufferInfoAtIndexBaseSizeDataOffsetDataSizeError ¶
func (GPURawCounterSource) RingBufferNum ¶
func (g GPURawCounterSource) RingBufferNum() uint32
func (GPURawCounterSource) SelectedCounters ¶
func (g GPURawCounterSource) SelectedCounters() objectivec.IObject
func (GPURawCounterSource) SelectedTriggers ¶
func (g GPURawCounterSource) SelectedTriggers() objectivec.IObject
func (GPURawCounterSource) SetEnabled ¶
func (g GPURawCounterSource) SetEnabled(enabled bool) bool
func (GPURawCounterSource) SetEnabledError ¶
func (g GPURawCounterSource) SetEnabledError(enabled bool) (bool, error)
func (GPURawCounterSource) SetOptions ¶
func (g GPURawCounterSource) SetOptions(value foundation.INSDictionary)
func (GPURawCounterSource) SourceGroup ¶
func (g GPURawCounterSource) SourceGroup() unsafe.Pointer
func (GPURawCounterSource) Superclass ¶
func (g GPURawCounterSource) Superclass() objc.Class
type GPURawCounterSourceClass ¶
type GPURawCounterSourceClass struct {
// contains filtered or unexported fields
}
func GetGPURawCounterSourceClass ¶
func GetGPURawCounterSourceClass() GPURawCounterSourceClass
GetGPURawCounterSourceClass returns the class object for _GPURawCounterSource.
func (GPURawCounterSourceClass) Alloc ¶
func (gc GPURawCounterSourceClass) Alloc() GPURawCounterSource
Alloc allocates memory for a new instance of the class.
func (GPURawCounterSourceClass) Class ¶
func (gc GPURawCounterSourceClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type GPURawCounterSourceGroup ¶
type GPURawCounterSourceGroup struct {
objectivec.Object
}
Methods ¶
- GPURawCounterSourceGroup.AcceleratorPort
- GPURawCounterSourceGroup.Features
- GPURawCounterSourceGroup.Name
- GPURawCounterSourceGroup.Options
- GPURawCounterSourceGroup.SetOptions
- GPURawCounterSourceGroup.SampleMarker
- GPURawCounterSourceGroup.SourceList
- GPURawCounterSourceGroup.StartSampling
- GPURawCounterSourceGroup.StartSamplingWithError
- GPURawCounterSourceGroup.StopSampling
- GPURawCounterSourceGroup.StopSamplingWithError
- GPURawCounterSourceGroup.SubDivideCounterListWithOptions
- GPURawCounterSourceGroup.InitWithAcceleratorPort
- GPURawCounterSourceGroup.DebugDescription
- GPURawCounterSourceGroup.Description
- GPURawCounterSourceGroup.Hash
- GPURawCounterSourceGroup.Superclass
func GPURawCounterSourceGroupFromID ¶
func GPURawCounterSourceGroupFromID(id objc.ID) GPURawCounterSourceGroup
GPURawCounterSourceGroupFromID constructs a GPURawCounterSourceGroup from an objc.ID.
func NewGPURawCounterSourceGroup ¶
func NewGPURawCounterSourceGroup() GPURawCounterSourceGroup
NewGPURawCounterSourceGroup creates a new GPURawCounterSourceGroup instance.
func NewGPURawCounterSourceGroupWithAcceleratorPort ¶
func NewGPURawCounterSourceGroupWithAcceleratorPort(port uint32) GPURawCounterSourceGroup
func (GPURawCounterSourceGroup) AcceleratorPort ¶
func (g GPURawCounterSourceGroup) AcceleratorPort() uint32
func (GPURawCounterSourceGroup) Autorelease ¶
func (g GPURawCounterSourceGroup) Autorelease() GPURawCounterSourceGroup
Autorelease adds the receiver to the current autorelease pool.
func (GPURawCounterSourceGroup) DebugDescription ¶
func (g GPURawCounterSourceGroup) DebugDescription() string
func (GPURawCounterSourceGroup) Description ¶
func (g GPURawCounterSourceGroup) Description() string
func (GPURawCounterSourceGroup) Features ¶
func (g GPURawCounterSourceGroup) Features() foundation.INSDictionary
func (GPURawCounterSourceGroup) Hash ¶
func (g GPURawCounterSourceGroup) Hash() uint64
func (GPURawCounterSourceGroup) Init ¶
func (g GPURawCounterSourceGroup) Init() GPURawCounterSourceGroup
Init initializes the instance.
func (GPURawCounterSourceGroup) InitWithAcceleratorPort ¶
func (g GPURawCounterSourceGroup) InitWithAcceleratorPort(port uint32) GPURawCounterSourceGroup
func (GPURawCounterSourceGroup) Name ¶
func (g GPURawCounterSourceGroup) Name() string
func (GPURawCounterSourceGroup) Options ¶
func (g GPURawCounterSourceGroup) Options() foundation.INSDictionary
func (GPURawCounterSourceGroup) SampleMarker ¶
func (g GPURawCounterSourceGroup) SampleMarker() uint64
func (GPURawCounterSourceGroup) SetOptions ¶
func (g GPURawCounterSourceGroup) SetOptions(value foundation.INSDictionary)
func (GPURawCounterSourceGroup) SourceList ¶
func (g GPURawCounterSourceGroup) SourceList() foundation.INSArray
func (GPURawCounterSourceGroup) StartSampling ¶
func (g GPURawCounterSourceGroup) StartSampling() bool
func (GPURawCounterSourceGroup) StartSamplingWithError ¶
func (g GPURawCounterSourceGroup) StartSamplingWithError() (bool, error)
func (GPURawCounterSourceGroup) StopSampling ¶
func (g GPURawCounterSourceGroup) StopSampling() bool
func (GPURawCounterSourceGroup) StopSamplingWithError ¶
func (g GPURawCounterSourceGroup) StopSamplingWithError() (bool, error)
func (GPURawCounterSourceGroup) SubDivideCounterListWithOptions ¶
func (g GPURawCounterSourceGroup) SubDivideCounterListWithOptions(list objectivec.IObject, options objectivec.IObject) objectivec.IObject
func (GPURawCounterSourceGroup) Superclass ¶
func (g GPURawCounterSourceGroup) Superclass() objc.Class
type GPURawCounterSourceGroupClass ¶
type GPURawCounterSourceGroupClass struct {
// contains filtered or unexported fields
}
func GetGPURawCounterSourceGroupClass ¶
func GetGPURawCounterSourceGroupClass() GPURawCounterSourceGroupClass
GetGPURawCounterSourceGroupClass returns the class object for _GPURawCounterSourceGroup.
func (GPURawCounterSourceGroupClass) Alloc ¶
func (gc GPURawCounterSourceGroupClass) Alloc() GPURawCounterSourceGroup
Alloc allocates memory for a new instance of the class.
func (GPURawCounterSourceGroupClass) Class ¶
func (gc GPURawCounterSourceGroupClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type GPURawCounterSourceGroupProtocol ¶
type GPURawCounterSourceGroupProtocol interface {
objectivec.IObject
// AcceleratorPort protocol.
AcceleratorPort() uint32
// Features protocol.
Features() objectivec.IObject
// Name protocol.
Name() objectivec.IObject
// Options protocol.
Options() objectivec.IObject
// SampleMarker protocol.
SampleMarker() uint64
// SetOptions protocol.
SetOptions(options objectivec.IObject)
// SourceList protocol.
SourceList() objectivec.IObject
// StartSampling protocol.
StartSampling() bool
// StartSamplingWithError protocol.
StartSamplingWithError() (bool, error)
// StopSampling protocol.
StopSampling() bool
// StopSamplingWithError protocol.
StopSamplingWithError() (bool, error)
// SubDivideCounterListWithOptions protocol.
SubDivideCounterListWithOptions(list objectivec.IObject, options objectivec.IObject) objectivec.IObject
}
GPURawCounterSourceGroup protocol.
type GPURawCounterSourceGroupProtocolObject ¶
type GPURawCounterSourceGroupProtocolObject struct {
objectivec.Object
}
GPURawCounterSourceGroupProtocolObject wraps an existing Objective-C object that conforms to the GPURawCounterSourceGroupProtocol protocol.
func GPURawCounterSourceGroupProtocolObjectFromID ¶
func GPURawCounterSourceGroupProtocolObjectFromID(id objc.ID) GPURawCounterSourceGroupProtocolObject
GPURawCounterSourceGroupProtocolObjectFromID constructs a GPURawCounterSourceGroupProtocolObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (GPURawCounterSourceGroupProtocolObject) AcceleratorPort ¶
func (o GPURawCounterSourceGroupProtocolObject) AcceleratorPort() uint32
func (GPURawCounterSourceGroupProtocolObject) BaseObject ¶
func (o GPURawCounterSourceGroupProtocolObject) BaseObject() objectivec.Object
func (GPURawCounterSourceGroupProtocolObject) Features ¶
func (o GPURawCounterSourceGroupProtocolObject) Features() objectivec.IObject
func (GPURawCounterSourceGroupProtocolObject) Name ¶
func (o GPURawCounterSourceGroupProtocolObject) Name() objectivec.IObject
func (GPURawCounterSourceGroupProtocolObject) Options ¶
func (o GPURawCounterSourceGroupProtocolObject) Options() objectivec.IObject
func (GPURawCounterSourceGroupProtocolObject) SampleMarker ¶
func (o GPURawCounterSourceGroupProtocolObject) SampleMarker() uint64
func (GPURawCounterSourceGroupProtocolObject) SetOptions ¶
func (o GPURawCounterSourceGroupProtocolObject) SetOptions(options objectivec.IObject)
func (GPURawCounterSourceGroupProtocolObject) SourceList ¶
func (o GPURawCounterSourceGroupProtocolObject) SourceList() objectivec.IObject
func (GPURawCounterSourceGroupProtocolObject) StartSampling ¶
func (o GPURawCounterSourceGroupProtocolObject) StartSampling() bool
func (GPURawCounterSourceGroupProtocolObject) StartSamplingWithError ¶
func (o GPURawCounterSourceGroupProtocolObject) StartSamplingWithError() (bool, error)
func (GPURawCounterSourceGroupProtocolObject) StopSampling ¶
func (o GPURawCounterSourceGroupProtocolObject) StopSampling() bool
func (GPURawCounterSourceGroupProtocolObject) StopSamplingWithError ¶
func (o GPURawCounterSourceGroupProtocolObject) StopSamplingWithError() (bool, error)
func (GPURawCounterSourceGroupProtocolObject) SubDivideCounterListWithOptions ¶
func (o GPURawCounterSourceGroupProtocolObject) SubDivideCounterListWithOptions(list objectivec.IObject, options objectivec.IObject) objectivec.IObject
type GPURawCounterSourceProtocol ¶
type GPURawCounterSourceProtocol interface {
objectivec.IObject
// AvailableCounters protocol.
AvailableCounters() objectivec.IObject
// AvailableTriggers protocol.
AvailableTriggers() objectivec.IObject
// DrainRingBufferAtIndexDataSize protocol.
DrainRingBufferAtIndexDataSize(index uint32, size uint32) uint32
// DrainRingBufferAtIndexDataSizeError protocol.
DrainRingBufferAtIndexDataSizeError(index uint32, size uint32) (uint32, error)
// Features protocol.
Features() objectivec.IObject
// FlushRingBuffers protocol.
FlushRingBuffers()
// IsEnabled protocol.
IsEnabled() bool
// Name protocol.
Name() objectivec.IObject
// Options protocol.
Options() objectivec.IObject
// PollCountersAtBufferIndexWithBlock protocol.
PollCountersAtBufferIndexWithBlock(index uint32, block Uint64Uint64Uint64Handler) bool
// PollCountersAtBufferIndexWithBlockError protocol.
PollCountersAtBufferIndexWithBlockError(index uint32, block func(*uint64, uint64, uint64)) (bool, error)
// PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast protocol.
PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast(index uint32, source string, size uint64, write uint64, output string, size2 uint64, read2 uint64, last bool) (uint64, uint64, bool)
// PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError protocol.
PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError(index uint32, source string, size uint64, write uint64, output string, size2 uint64, read2 uint64, last bool) (uint64, uint64, error)
// PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast protocol.
PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast(source string, size uint64, write uint64, output string, size2 uint64, read2 uint64, last bool) (uint64, uint64, bool)
// PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError protocol.
PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError(source string, size uint64, write uint64, output string, size2 uint64, read2 uint64, last bool) (uint64, uint64, error)
// PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLast protocol.
PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLast(source string, size uint64, output string, size2 uint64, last bool) (uint64, uint64, bool)
// PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLastError protocol.
PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLastError(source string, size uint64, output string, size2 uint64, last bool) (uint64, uint64, error)
// RequestCountersFirstErrorIndex protocol.
RequestCountersFirstErrorIndex(counters objectivec.IObject) (uint64, bool)
// RequestCountersFirstErrorIndexError protocol.
RequestCountersFirstErrorIndexError(counters objectivec.IObject) (uint64, error)
// RequestTriggersFirstErrorIndex protocol.
RequestTriggersFirstErrorIndex(triggers objectivec.IObject) (uint64, bool)
// RequestTriggersFirstErrorIndexError protocol.
RequestTriggersFirstErrorIndexError(triggers objectivec.IObject) (uint64, error)
// ResetRawDataPostProcessor protocol.
ResetRawDataPostProcessor()
// RingBufferInfoAtIndexBaseSizeDataOffsetDataSize protocol.
RingBufferInfoAtIndexBaseSizeDataOffsetDataSize(index uint32, base *int8, size *uint32, offset *uint32, size2 *uint32) bool
// RingBufferInfoAtIndexBaseSizeDataOffsetDataSizeError protocol.
RingBufferInfoAtIndexBaseSizeDataOffsetDataSizeError(index uint32, base *int8, size *uint32, offset *uint32, size2 *uint32) (bool, error)
// RingBufferNum protocol.
RingBufferNum() uint32
// SelectedCounters protocol.
SelectedCounters() objectivec.IObject
// SelectedTriggers protocol.
SelectedTriggers() objectivec.IObject
// SetEnabled protocol.
SetEnabled(enabled bool) bool
// SetEnabledError protocol.
SetEnabledError(enabled bool) (bool, error)
// SetOptions protocol.
SetOptions(options objectivec.IObject)
// SourceGroup protocol.
SourceGroup() objectivec.IObject
}
GPURawCounterSource protocol.
type GPURawCounterSourceProtocolObject ¶
type GPURawCounterSourceProtocolObject struct {
objectivec.Object
}
GPURawCounterSourceProtocolObject wraps an existing Objective-C object that conforms to the GPURawCounterSourceProtocol protocol.
func GPURawCounterSourceProtocolObjectFromID ¶
func GPURawCounterSourceProtocolObjectFromID(id objc.ID) GPURawCounterSourceProtocolObject
GPURawCounterSourceProtocolObjectFromID constructs a GPURawCounterSourceProtocolObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (GPURawCounterSourceProtocolObject) AvailableCounters ¶
func (o GPURawCounterSourceProtocolObject) AvailableCounters() objectivec.IObject
func (GPURawCounterSourceProtocolObject) AvailableTriggers ¶
func (o GPURawCounterSourceProtocolObject) AvailableTriggers() objectivec.IObject
func (GPURawCounterSourceProtocolObject) BaseObject ¶
func (o GPURawCounterSourceProtocolObject) BaseObject() objectivec.Object
func (GPURawCounterSourceProtocolObject) DrainRingBufferAtIndexDataSize ¶
func (o GPURawCounterSourceProtocolObject) DrainRingBufferAtIndexDataSize(index uint32, size uint32) uint32
func (GPURawCounterSourceProtocolObject) DrainRingBufferAtIndexDataSizeError ¶
func (o GPURawCounterSourceProtocolObject) DrainRingBufferAtIndexDataSizeError(index uint32, size uint32) (uint32, error)
func (GPURawCounterSourceProtocolObject) Features ¶
func (o GPURawCounterSourceProtocolObject) Features() objectivec.IObject
func (GPURawCounterSourceProtocolObject) FlushRingBuffers ¶
func (o GPURawCounterSourceProtocolObject) FlushRingBuffers()
func (GPURawCounterSourceProtocolObject) IsEnabled ¶
func (o GPURawCounterSourceProtocolObject) IsEnabled() bool
func (GPURawCounterSourceProtocolObject) Name ¶
func (o GPURawCounterSourceProtocolObject) Name() objectivec.IObject
func (GPURawCounterSourceProtocolObject) Options ¶
func (o GPURawCounterSourceProtocolObject) Options() objectivec.IObject
func (GPURawCounterSourceProtocolObject) PollCountersAtBufferIndexWithBlock ¶
func (o GPURawCounterSourceProtocolObject) PollCountersAtBufferIndexWithBlock(index uint32, block Uint64Uint64Uint64Handler) bool
func (GPURawCounterSourceProtocolObject) PollCountersAtBufferIndexWithBlockError ¶
func (GPURawCounterSourceProtocolObject) PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast ¶
func (GPURawCounterSourceProtocolObject) PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError ¶
func (GPURawCounterSourceProtocolObject) PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast ¶
func (GPURawCounterSourceProtocolObject) PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError ¶
func (GPURawCounterSourceProtocolObject) PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLast ¶
func (GPURawCounterSourceProtocolObject) PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLastError ¶
func (GPURawCounterSourceProtocolObject) RequestCountersFirstErrorIndex ¶
func (o GPURawCounterSourceProtocolObject) RequestCountersFirstErrorIndex(counters objectivec.IObject) (uint64, bool)
func (GPURawCounterSourceProtocolObject) RequestCountersFirstErrorIndexError ¶
func (o GPURawCounterSourceProtocolObject) RequestCountersFirstErrorIndexError(counters objectivec.IObject) (uint64, error)
func (GPURawCounterSourceProtocolObject) RequestTriggersFirstErrorIndex ¶
func (o GPURawCounterSourceProtocolObject) RequestTriggersFirstErrorIndex(triggers objectivec.IObject) (uint64, bool)
func (GPURawCounterSourceProtocolObject) RequestTriggersFirstErrorIndexError ¶
func (o GPURawCounterSourceProtocolObject) RequestTriggersFirstErrorIndexError(triggers objectivec.IObject) (uint64, error)
func (GPURawCounterSourceProtocolObject) ResetRawDataPostProcessor ¶
func (o GPURawCounterSourceProtocolObject) ResetRawDataPostProcessor()
func (GPURawCounterSourceProtocolObject) RingBufferInfoAtIndexBaseSizeDataOffsetDataSize ¶
func (GPURawCounterSourceProtocolObject) RingBufferInfoAtIndexBaseSizeDataOffsetDataSizeError ¶
func (GPURawCounterSourceProtocolObject) RingBufferNum ¶
func (o GPURawCounterSourceProtocolObject) RingBufferNum() uint32
func (GPURawCounterSourceProtocolObject) SelectedCounters ¶
func (o GPURawCounterSourceProtocolObject) SelectedCounters() objectivec.IObject
func (GPURawCounterSourceProtocolObject) SelectedTriggers ¶
func (o GPURawCounterSourceProtocolObject) SelectedTriggers() objectivec.IObject
func (GPURawCounterSourceProtocolObject) SetEnabled ¶
func (o GPURawCounterSourceProtocolObject) SetEnabled(enabled bool) bool
func (GPURawCounterSourceProtocolObject) SetEnabledError ¶
func (o GPURawCounterSourceProtocolObject) SetEnabledError(enabled bool) (bool, error)
func (GPURawCounterSourceProtocolObject) SetOptions ¶
func (o GPURawCounterSourceProtocolObject) SetOptions(options objectivec.IObject)
func (GPURawCounterSourceProtocolObject) SourceGroup ¶
func (o GPURawCounterSourceProtocolObject) SourceGroup() objectivec.IObject
type GPURawCounterSourceTrigger ¶
type GPURawCounterSourceTrigger struct {
objectivec.Object
}
Methods ¶
- GPURawCounterSourceTrigger.Name
- GPURawCounterSourceTrigger.Options
- GPURawCounterSourceTrigger.InitWithNameDescriptionOptions
- GPURawCounterSourceTrigger.Description
func GPURawCounterSourceTriggerFromID ¶
func GPURawCounterSourceTriggerFromID(id objc.ID) GPURawCounterSourceTrigger
GPURawCounterSourceTriggerFromID constructs a GPURawCounterSourceTrigger from an objc.ID.
func NewGPURawCounterSourceTrigger ¶
func NewGPURawCounterSourceTrigger() GPURawCounterSourceTrigger
NewGPURawCounterSourceTrigger creates a new GPURawCounterSourceTrigger instance.
func NewGPURawCounterSourceTriggerWithNameDescriptionOptions ¶
func NewGPURawCounterSourceTriggerWithNameDescriptionOptions(name objectivec.IObject, description objectivec.IObject, options objectivec.IObject) GPURawCounterSourceTrigger
func (GPURawCounterSourceTrigger) Autorelease ¶
func (g GPURawCounterSourceTrigger) Autorelease() GPURawCounterSourceTrigger
Autorelease adds the receiver to the current autorelease pool.
func (GPURawCounterSourceTrigger) Description ¶
func (g GPURawCounterSourceTrigger) Description() string
func (GPURawCounterSourceTrigger) Init ¶
func (g GPURawCounterSourceTrigger) Init() GPURawCounterSourceTrigger
Init initializes the instance.
func (GPURawCounterSourceTrigger) InitWithNameDescriptionOptions ¶
func (g GPURawCounterSourceTrigger) InitWithNameDescriptionOptions(name objectivec.IObject, description objectivec.IObject, options objectivec.IObject) GPURawCounterSourceTrigger
func (GPURawCounterSourceTrigger) Name ¶
func (g GPURawCounterSourceTrigger) Name() string
func (GPURawCounterSourceTrigger) Options ¶
func (g GPURawCounterSourceTrigger) Options() foundation.INSDictionary
type GPURawCounterSourceTriggerClass ¶
type GPURawCounterSourceTriggerClass struct {
// contains filtered or unexported fields
}
func GetGPURawCounterSourceTriggerClass ¶
func GetGPURawCounterSourceTriggerClass() GPURawCounterSourceTriggerClass
GetGPURawCounterSourceTriggerClass returns the class object for _GPURawCounterSourceTrigger.
func (GPURawCounterSourceTriggerClass) Alloc ¶
func (gc GPURawCounterSourceTriggerClass) Alloc() GPURawCounterSourceTrigger
Alloc allocates memory for a new instance of the class.
func (GPURawCounterSourceTriggerClass) Class ¶
func (gc GPURawCounterSourceTriggerClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type GPURawCounterSourceTriggerProtocol ¶
type GPURawCounterSourceTriggerProtocol interface {
objectivec.IObject
// Description protocol.
Description() objectivec.IObject
// Name protocol.
Name() objectivec.IObject
// Options protocol.
Options() objectivec.IObject
}
GPURawCounterSourceTrigger protocol.
type GPURawCounterSourceTriggerProtocolObject ¶
type GPURawCounterSourceTriggerProtocolObject struct {
objectivec.Object
}
GPURawCounterSourceTriggerProtocolObject wraps an existing Objective-C object that conforms to the GPURawCounterSourceTriggerProtocol protocol.
func GPURawCounterSourceTriggerProtocolObjectFromID ¶
func GPURawCounterSourceTriggerProtocolObjectFromID(id objc.ID) GPURawCounterSourceTriggerProtocolObject
GPURawCounterSourceTriggerProtocolObjectFromID constructs a GPURawCounterSourceTriggerProtocolObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (GPURawCounterSourceTriggerProtocolObject) BaseObject ¶
func (o GPURawCounterSourceTriggerProtocolObject) BaseObject() objectivec.Object
func (GPURawCounterSourceTriggerProtocolObject) Description ¶
func (o GPURawCounterSourceTriggerProtocolObject) Description() objectivec.IObject
func (GPURawCounterSourceTriggerProtocolObject) Name ¶
func (o GPURawCounterSourceTriggerProtocolObject) Name() objectivec.IObject
func (GPURawCounterSourceTriggerProtocolObject) Options ¶
func (o GPURawCounterSourceTriggerProtocolObject) Options() objectivec.IObject
type GPURawCounterSourceTriggerSelect ¶
type GPURawCounterSourceTriggerSelect struct {
objectivec.Object
}
Methods ¶
- GPURawCounterSourceTriggerSelect.Name
- GPURawCounterSourceTriggerSelect.Options
- GPURawCounterSourceTriggerSelect.InitWithNameOptions
func GPURawCounterSourceTriggerSelectFromID ¶
func GPURawCounterSourceTriggerSelectFromID(id objc.ID) GPURawCounterSourceTriggerSelect
GPURawCounterSourceTriggerSelectFromID constructs a GPURawCounterSourceTriggerSelect from an objc.ID.
func NewGPURawCounterSourceTriggerSelect ¶
func NewGPURawCounterSourceTriggerSelect() GPURawCounterSourceTriggerSelect
NewGPURawCounterSourceTriggerSelect creates a new GPURawCounterSourceTriggerSelect instance.
func NewGPURawCounterSourceTriggerSelectWithNameOptions ¶
func NewGPURawCounterSourceTriggerSelectWithNameOptions(name objectivec.IObject, options objectivec.IObject) GPURawCounterSourceTriggerSelect
func (GPURawCounterSourceTriggerSelect) Autorelease ¶
func (g GPURawCounterSourceTriggerSelect) Autorelease() GPURawCounterSourceTriggerSelect
Autorelease adds the receiver to the current autorelease pool.
func (GPURawCounterSourceTriggerSelect) Init ¶
func (g GPURawCounterSourceTriggerSelect) Init() GPURawCounterSourceTriggerSelect
Init initializes the instance.
func (GPURawCounterSourceTriggerSelect) InitWithNameOptions ¶
func (g GPURawCounterSourceTriggerSelect) InitWithNameOptions(name objectivec.IObject, options objectivec.IObject) GPURawCounterSourceTriggerSelect
func (GPURawCounterSourceTriggerSelect) Name ¶
func (g GPURawCounterSourceTriggerSelect) Name() string
func (GPURawCounterSourceTriggerSelect) Options ¶
func (g GPURawCounterSourceTriggerSelect) Options() foundation.INSDictionary
type GPURawCounterSourceTriggerSelectClass ¶
type GPURawCounterSourceTriggerSelectClass struct {
// contains filtered or unexported fields
}
func GetGPURawCounterSourceTriggerSelectClass ¶
func GetGPURawCounterSourceTriggerSelectClass() GPURawCounterSourceTriggerSelectClass
GetGPURawCounterSourceTriggerSelectClass returns the class object for GPURawCounterSourceTriggerSelect.
func (GPURawCounterSourceTriggerSelectClass) Alloc ¶
func (gc GPURawCounterSourceTriggerSelectClass) Alloc() GPURawCounterSourceTriggerSelect
Alloc allocates memory for a new instance of the class.
func (GPURawCounterSourceTriggerSelectClass) Class ¶
func (gc GPURawCounterSourceTriggerSelectClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
func (GPURawCounterSourceTriggerSelectClass) SelectWithNameOptions ¶
func (_GPURawCounterSourceTriggerSelectClass GPURawCounterSourceTriggerSelectClass) SelectWithNameOptions(name objectivec.IObject, options objectivec.IObject) objectivec.IObject
type IGPURawCounter ¶
type IGPURawCounter interface {
objectivec.IObject
CounterValueType() uint64
Name() string
InitWithNameDescriptionValueType(name objectivec.IObject, description objectivec.IObject, type_ uint64) GPURawCounter
Description() string
}
An interface definition for the GPURawCounter class.
Methods ¶
type IGPURawCounterSelect ¶
type IGPURawCounterSelect interface {
objectivec.IObject
Name() string
Options() foundation.INSDictionary
InitWithNameOptions(name objectivec.IObject, options objectivec.IObject) GPURawCounterSelect
}
An interface definition for the GPURawCounterSelect class.
Methods ¶
type IGPURawCounterSource ¶
type IGPURawCounterSource interface {
objectivec.IObject
AvailableCounters() objectivec.IObject
AvailableTriggers() objectivec.IObject
DrainRingBufferAtIndexDataSize(index uint32, size uint32) uint32
DrainRingBufferAtIndexDataSizeError(index uint32, size uint32) (uint32, error)
Features() foundation.INSDictionary
FlushRingBuffers()
IsEnabled() bool
Name() string
Options() foundation.INSDictionary
SetOptions(value foundation.INSDictionary)
PollCountersAtBufferIndexWithBlock(index uint32, block VoidHandler) bool
PollCountersAtBufferIndexWithBlockError(index uint32, block func()) (bool, error)
PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast(index uint32, source string, size uint64, write uint64, output string, size2 uint64, read2 uint64, last bool) (uint64, uint64, bool)
PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError(index uint32, source string, size uint64, write uint64, output string, size2 uint64, read2 uint64, last bool) (uint64, uint64, error)
PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast(source string, size uint64, write uint64, output string, size2 uint64, read2 uint64, last bool) (uint64, uint64, bool)
PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError(source string, size uint64, write uint64, output string, size2 uint64, read2 uint64, last bool) (uint64, uint64, error)
PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLast(source string, size uint64, output string, size2 uint64, last bool) (uint64, uint64, bool)
PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLastError(source string, size uint64, output string, size2 uint64, last bool) (uint64, uint64, error)
RequestCountersFirstErrorIndex(counters objectivec.IObject) (uint64, bool)
RequestCountersFirstErrorIndexError(counters objectivec.IObject) (uint64, error)
RequestTriggersFirstErrorIndex(triggers objectivec.IObject) (uint64, bool)
RequestTriggersFirstErrorIndexError(triggers objectivec.IObject) (uint64, error)
ResetRawDataPostProcessor()
RingBufferInfoAtIndexBaseSizeDataOffsetDataSize(index uint32, base *int8, size *uint32, offset *uint32, size2 *uint32) bool
RingBufferInfoAtIndexBaseSizeDataOffsetDataSizeError(index uint32, base *int8, size *uint32, offset *uint32, size2 *uint32) (bool, error)
RingBufferNum() uint32
SelectedCounters() objectivec.IObject
SelectedTriggers() objectivec.IObject
SetEnabled(enabled bool) bool
SetEnabledError(enabled bool) (bool, error)
SourceGroup() unsafe.Pointer
InitWithSourceGroupName(group objectivec.IObject, name objectivec.IObject) GPURawCounterSource
DebugDescription() string
Description() string
Hash() uint64
Superclass() objc.Class
}
An interface definition for the GPURawCounterSource class.
Methods ¶
- IGPURawCounterSource.AvailableCounters
- IGPURawCounterSource.AvailableTriggers
- IGPURawCounterSource.DrainRingBufferAtIndexDataSize
- IGPURawCounterSource.DrainRingBufferAtIndexDataSizeError
- IGPURawCounterSource.Features
- IGPURawCounterSource.FlushRingBuffers
- IGPURawCounterSource.IsEnabled
- IGPURawCounterSource.Name
- IGPURawCounterSource.Options
- IGPURawCounterSource.SetOptions
- IGPURawCounterSource.PollCountersAtBufferIndexWithBlock
- IGPURawCounterSource.PollCountersAtBufferIndexWithBlockError
- IGPURawCounterSource.PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast
- IGPURawCounterSource.PostProcessRawDataWithRingBufferIndexSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError
- IGPURawCounterSource.PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLast
- IGPURawCounterSource.PostProcessRawDataWithRingBufferSourceSourceSizeSourceReadSourceWriteOutputOutputSizeOutputReadOutputWriteIsLastError
- IGPURawCounterSource.PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLast
- IGPURawCounterSource.PostProcessRawDataWithSourceSourceSizeSourceReadOutputOutputSizeOutputWrittenIsLastError
- IGPURawCounterSource.RequestCountersFirstErrorIndex
- IGPURawCounterSource.RequestCountersFirstErrorIndexError
- IGPURawCounterSource.RequestTriggersFirstErrorIndex
- IGPURawCounterSource.RequestTriggersFirstErrorIndexError
- IGPURawCounterSource.ResetRawDataPostProcessor
- IGPURawCounterSource.RingBufferInfoAtIndexBaseSizeDataOffsetDataSize
- IGPURawCounterSource.RingBufferInfoAtIndexBaseSizeDataOffsetDataSizeError
- IGPURawCounterSource.RingBufferNum
- IGPURawCounterSource.SelectedCounters
- IGPURawCounterSource.SelectedTriggers
- IGPURawCounterSource.SetEnabled
- IGPURawCounterSource.SetEnabledError
- IGPURawCounterSource.SourceGroup
- IGPURawCounterSource.InitWithSourceGroupName
- IGPURawCounterSource.DebugDescription
- IGPURawCounterSource.Description
- IGPURawCounterSource.Hash
- IGPURawCounterSource.Superclass
type IGPURawCounterSourceGroup ¶
type IGPURawCounterSourceGroup interface {
objectivec.IObject
AcceleratorPort() uint32
Features() foundation.INSDictionary
Name() string
Options() foundation.INSDictionary
SetOptions(value foundation.INSDictionary)
SampleMarker() uint64
SourceList() foundation.INSArray
StartSampling() bool
StartSamplingWithError() (bool, error)
StopSampling() bool
StopSamplingWithError() (bool, error)
SubDivideCounterListWithOptions(list objectivec.IObject, options objectivec.IObject) objectivec.IObject
InitWithAcceleratorPort(port uint32) GPURawCounterSourceGroup
DebugDescription() string
Description() string
Hash() uint64
Superclass() objc.Class
}
An interface definition for the GPURawCounterSourceGroup class.
Methods ¶
- IGPURawCounterSourceGroup.AcceleratorPort
- IGPURawCounterSourceGroup.Features
- IGPURawCounterSourceGroup.Name
- IGPURawCounterSourceGroup.Options
- IGPURawCounterSourceGroup.SetOptions
- IGPURawCounterSourceGroup.SampleMarker
- IGPURawCounterSourceGroup.SourceList
- IGPURawCounterSourceGroup.StartSampling
- IGPURawCounterSourceGroup.StartSamplingWithError
- IGPURawCounterSourceGroup.StopSampling
- IGPURawCounterSourceGroup.StopSamplingWithError
- IGPURawCounterSourceGroup.SubDivideCounterListWithOptions
- IGPURawCounterSourceGroup.InitWithAcceleratorPort
- IGPURawCounterSourceGroup.DebugDescription
- IGPURawCounterSourceGroup.Description
- IGPURawCounterSourceGroup.Hash
- IGPURawCounterSourceGroup.Superclass
type IGPURawCounterSourceTrigger ¶
type IGPURawCounterSourceTrigger interface {
objectivec.IObject
Name() string
Options() foundation.INSDictionary
InitWithNameDescriptionOptions(name objectivec.IObject, description objectivec.IObject, options objectivec.IObject) GPURawCounterSourceTrigger
Description() string
}
An interface definition for the GPURawCounterSourceTrigger class.
Methods ¶
type IGPURawCounterSourceTriggerSelect ¶
type IGPURawCounterSourceTriggerSelect interface {
objectivec.IObject
Name() string
Options() foundation.INSDictionary
InitWithNameOptions(name objectivec.IObject, options objectivec.IObject) GPURawCounterSourceTriggerSelect
}
An interface definition for the GPURawCounterSourceTriggerSelect class.
Methods ¶
type Uint64Uint64Uint64Handler ¶
Uint64Uint64Uint64Handler handles completion with primitive and object results.
Used by:
type VoidHandler ¶
type VoidHandler = func()
VoidHandler is the signature for a completion handler block.
Used by:
Source Files
¶
- blocks.gen.go
- doc.gen.go
- functions.gen.go
- generate.go
- gpu_raw_counter.gen.go
- gpu_raw_counter_protocol.gen.go
- gpu_raw_counter_select.gen.go
- gpu_raw_counter_source.gen.go
- gpu_raw_counter_source_group.gen.go
- gpu_raw_counter_source_group_protocol.gen.go
- gpu_raw_counter_source_protocol.gen.go
- gpu_raw_counter_source_trigger.gen.go
- gpu_raw_counter_source_trigger_protocol.gen.go
- gpu_raw_counter_source_trigger_select.gen.go
- types.gen.go
- undefined_types.gen.go