| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vulkan.Extensions.VK_INTEL_performance_query
Synopsis
- initializePerformanceApiINTEL :: forall io. MonadIO io => Device -> ("initializeInfo" ::: InitializePerformanceApiInfoINTEL) -> io ()
- uninitializePerformanceApiINTEL :: forall io. MonadIO io => Device -> io ()
- cmdSetPerformanceMarkerINTEL :: forall io. MonadIO io => CommandBuffer -> PerformanceMarkerInfoINTEL -> io ()
- cmdSetPerformanceStreamMarkerINTEL :: forall io. MonadIO io => CommandBuffer -> PerformanceStreamMarkerInfoINTEL -> io ()
- cmdSetPerformanceOverrideINTEL :: forall io. MonadIO io => CommandBuffer -> PerformanceOverrideInfoINTEL -> io ()
- acquirePerformanceConfigurationINTEL :: forall io. MonadIO io => Device -> PerformanceConfigurationAcquireInfoINTEL -> io PerformanceConfigurationINTEL
- releasePerformanceConfigurationINTEL :: forall io. MonadIO io => Device -> PerformanceConfigurationINTEL -> io ()
- queueSetPerformanceConfigurationINTEL :: forall io. MonadIO io => Queue -> PerformanceConfigurationINTEL -> io ()
- getPerformanceParameterINTEL :: forall io. MonadIO io => Device -> PerformanceParameterTypeINTEL -> io PerformanceValueINTEL
- pattern STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO_INTEL :: StructureType
- data PerformanceValueINTEL = PerformanceValueINTEL {}
- data InitializePerformanceApiInfoINTEL = InitializePerformanceApiInfoINTEL {}
- data QueryPoolPerformanceQueryCreateInfoINTEL = QueryPoolPerformanceQueryCreateInfoINTEL {}
- data PerformanceMarkerInfoINTEL = PerformanceMarkerInfoINTEL {}
- data PerformanceStreamMarkerInfoINTEL = PerformanceStreamMarkerInfoINTEL {}
- data PerformanceOverrideInfoINTEL = PerformanceOverrideInfoINTEL {}
- data PerformanceConfigurationAcquireInfoINTEL = PerformanceConfigurationAcquireInfoINTEL {}
- data PerformanceValueDataINTEL
- peekPerformanceValueDataINTEL :: PerformanceValueTypeINTEL -> Ptr PerformanceValueDataINTEL -> IO PerformanceValueDataINTEL
- newtype PerformanceConfigurationTypeINTEL where
- newtype QueryPoolSamplingModeINTEL where
- newtype PerformanceOverrideTypeINTEL where
- newtype PerformanceParameterTypeINTEL where
- newtype PerformanceValueTypeINTEL where
- PerformanceValueTypeINTEL Int32
- pattern PERFORMANCE_VALUE_TYPE_UINT32_INTEL :: PerformanceValueTypeINTEL
- pattern PERFORMANCE_VALUE_TYPE_UINT64_INTEL :: PerformanceValueTypeINTEL
- pattern PERFORMANCE_VALUE_TYPE_FLOAT_INTEL :: PerformanceValueTypeINTEL
- pattern PERFORMANCE_VALUE_TYPE_BOOL_INTEL :: PerformanceValueTypeINTEL
- pattern PERFORMANCE_VALUE_TYPE_STRING_INTEL :: PerformanceValueTypeINTEL
- type QueryPoolCreateInfoINTEL = QueryPoolPerformanceQueryCreateInfoINTEL
- type INTEL_PERFORMANCE_QUERY_SPEC_VERSION = 2
- pattern INTEL_PERFORMANCE_QUERY_SPEC_VERSION :: forall a. Integral a => a
- type INTEL_PERFORMANCE_QUERY_EXTENSION_NAME = "VK_INTEL_performance_query"
- pattern INTEL_PERFORMANCE_QUERY_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
- newtype PerformanceConfigurationINTEL = PerformanceConfigurationINTEL Word64
Documentation
initializePerformanceApiINTEL Source #
Arguments
| :: forall io. MonadIO io | |
| => Device |
|
| -> ("initializeInfo" ::: InitializePerformanceApiInfoINTEL) |
|
| -> io () |
vkInitializePerformanceApiINTEL - Initialize a device for performance queries
Return Codes
See Also
uninitializePerformanceApiINTEL Source #
Arguments
| :: forall io. MonadIO io | |
| => Device |
|
| -> io () |
vkUninitializePerformanceApiINTEL - Uninitialize a device for performance queries
Valid Usage (Implicit)
See Also
cmdSetPerformanceMarkerINTEL :: forall io. MonadIO io => CommandBuffer -> PerformanceMarkerInfoINTEL -> io () Source #
vkCmdSetPerformanceMarkerINTEL - Markers
Parameters
The last marker set onto a command buffer before the end of a query will be part of the query result.
Valid Usage (Implicit)
commandBuffermust be a validCommandBufferhandle
pMarkerInfomust be a valid pointer to a validPerformanceMarkerInfoINTELstructurecommandBuffermust be in the recording state- The
CommandPoolthatcommandBufferwas allocated from must support graphics, compute, or transfer operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized
- Host access to the
CommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
'
| Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
|---|---|---|---|
| Primary Secondary | Both | Graphics Compute Transfer |
Return Codes
See Also
cmdSetPerformanceStreamMarkerINTEL :: forall io. MonadIO io => CommandBuffer -> PerformanceStreamMarkerInfoINTEL -> io () Source #
vkCmdSetPerformanceStreamMarkerINTEL - Markers
Valid Usage (Implicit)
commandBuffermust be a validCommandBufferhandle
pMarkerInfomust be a valid pointer to a validPerformanceStreamMarkerInfoINTELstructurecommandBuffermust be in the recording state- The
CommandPoolthatcommandBufferwas allocated from must support graphics, compute, or transfer operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized
- Host access to the
CommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
'
| Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
|---|---|---|---|
| Primary Secondary | Both | Graphics Compute Transfer |
Return Codes
See Also
cmdSetPerformanceOverrideINTEL Source #
Arguments
| :: forall io. MonadIO io | |
| => CommandBuffer |
|
| -> PerformanceOverrideInfoINTEL |
|
| -> io () |
vkCmdSetPerformanceOverrideINTEL - Performance override settings
Valid Usage
pOverrideInfomust not be used with aPerformanceOverrideTypeINTELthat is not reported available bygetPerformanceParameterINTEL
Valid Usage (Implicit)
commandBuffermust be a validCommandBufferhandle
pOverrideInfomust be a valid pointer to a validPerformanceOverrideInfoINTELstructurecommandBuffermust be in the recording state- The
CommandPoolthatcommandBufferwas allocated from must support graphics, compute, or transfer operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized
- Host access to the
CommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
'
| Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
|---|---|---|---|
| Primary Secondary | Both | Graphics Compute Transfer |
Return Codes
See Also
acquirePerformanceConfigurationINTEL Source #
Arguments
| :: forall io. MonadIO io | |
| => Device |
|
| -> PerformanceConfigurationAcquireInfoINTEL |
|
| -> io PerformanceConfigurationINTEL |
vkAcquirePerformanceConfigurationINTEL - Acquire the performance query capability
Return Codes
See Also
Device,
PerformanceConfigurationAcquireInfoINTEL,
PerformanceConfigurationINTEL
releasePerformanceConfigurationINTEL Source #
Arguments
| :: forall io. MonadIO io | |
| => Device |
|
| -> PerformanceConfigurationINTEL |
|
| -> io () |
vkReleasePerformanceConfigurationINTEL - Release a configuration to capture performance data
Return Codes
See Also
queueSetPerformanceConfigurationINTEL Source #
Arguments
| :: forall io. MonadIO io | |
| => Queue |
|
| -> PerformanceConfigurationINTEL |
|
| -> io () |
vkQueueSetPerformanceConfigurationINTEL - Set a performance query
Valid Usage (Implicit)
queuemust be a validQueuehandle
configurationmust be a validPerformanceConfigurationINTELhandle- Both of
configuration, andqueuemust have been created, allocated, or retrieved from the sameDevice
Command Properties
'
| Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
|---|---|---|---|
| - | - | Any | - |
Return Codes
See Also
getPerformanceParameterINTEL Source #
Arguments
| :: forall io. MonadIO io | |
| => Device |
|
| -> PerformanceParameterTypeINTEL |
|
| -> io PerformanceValueINTEL |
vkGetPerformanceParameterINTEL - Query performance capabilities of the device
Return Codes
See Also
Device, PerformanceParameterTypeINTEL,
PerformanceValueINTEL
data PerformanceValueINTEL Source #
VkPerformanceValueINTEL - Container for value and types of parameters that can be queried
Valid Usage (Implicit)
typemust be a validPerformanceValueTypeINTELvalue
- If
typeisPERFORMANCE_VALUE_TYPE_STRING_INTEL, thevalueStringmember ofdatamust be a null-terminated UTF-8 string
See Also
PerformanceValueDataINTEL, PerformanceValueTypeINTEL,
getPerformanceParameterINTEL
Constructors
| PerformanceValueINTEL | |
Fields
| |
Instances
data InitializePerformanceApiInfoINTEL Source #
VkInitializePerformanceApiInfoINTEL - Structure specifying parameters of initialize of the device
Valid Usage (Implicit)
See Also
Constructors
| InitializePerformanceApiInfoINTEL | |
Instances
data QueryPoolPerformanceQueryCreateInfoINTEL Source #
VkQueryPoolPerformanceQueryCreateInfoINTEL - Structure specifying parameters to create a pool of performance queries
Members
To create a pool for Intel performance queries, set
QueryPoolCreateInfo::queryType to
QUERY_TYPE_PERFORMANCE_QUERY_INTEL and
add a QueryPoolPerformanceQueryCreateInfoINTEL structure to the
pNext chain of the QueryPoolCreateInfo
structure.
Valid Usage (Implicit)
See Also
Constructors
| QueryPoolPerformanceQueryCreateInfoINTEL | |
Fields
| |
Instances
data PerformanceMarkerInfoINTEL Source #
VkPerformanceMarkerInfoINTEL - Structure specifying performance markers
Valid Usage (Implicit)
See Also
Constructors
| PerformanceMarkerInfoINTEL | |
Instances
data PerformanceStreamMarkerInfoINTEL Source #
VkPerformanceStreamMarkerInfoINTEL - Structure specifying stream performance markers
Valid Usage
- The value written by the application into
markermust only used the valid bits as reported bygetPerformanceParameterINTELwith thePERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL
pNextmust beNULL
See Also
Constructors
| PerformanceStreamMarkerInfoINTEL | |
Instances
data PerformanceOverrideInfoINTEL Source #
VkPerformanceOverrideInfoINTEL - Performance override info
Valid Usage (Implicit)
See Also
Bool32, PerformanceOverrideTypeINTEL,
StructureType,
cmdSetPerformanceOverrideINTEL
Constructors
| PerformanceOverrideInfoINTEL | |
Fields
| |
Instances
data PerformanceConfigurationAcquireInfoINTEL Source #
VkPerformanceConfigurationAcquireInfoINTEL - Acquire a configuration to capture performance data
Valid Usage (Implicit)
See Also
PerformanceConfigurationTypeINTEL,
StructureType,
acquirePerformanceConfigurationINTEL
Constructors
| PerformanceConfigurationAcquireInfoINTEL | |
Fields
| |
Instances
data PerformanceValueDataINTEL Source #
Constructors
| Value32 Word32 | |
| Value64 Word64 | |
| ValueFloat Float | |
| ValueBool Bool | |
| ValueString ByteString |
Instances
| Show PerformanceValueDataINTEL Source # | |
Defined in Vulkan.Extensions.VK_INTEL_performance_query Methods showsPrec :: Int -> PerformanceValueDataINTEL -> ShowS # show :: PerformanceValueDataINTEL -> String # showList :: [PerformanceValueDataINTEL] -> ShowS # | |
| ToCStruct PerformanceValueDataINTEL Source # | |
Defined in Vulkan.Extensions.VK_INTEL_performance_query Methods withCStruct :: PerformanceValueDataINTEL -> (Ptr PerformanceValueDataINTEL -> IO b) -> IO b Source # pokeCStruct :: Ptr PerformanceValueDataINTEL -> PerformanceValueDataINTEL -> IO b -> IO b Source # withZeroCStruct :: (Ptr PerformanceValueDataINTEL -> IO b) -> IO b Source # pokeZeroCStruct :: Ptr PerformanceValueDataINTEL -> IO b -> IO b Source # cStructSize :: Int Source # | |
| Zero PerformanceValueDataINTEL Source # | |
Defined in Vulkan.Extensions.VK_INTEL_performance_query Methods | |
peekPerformanceValueDataINTEL :: PerformanceValueTypeINTEL -> Ptr PerformanceValueDataINTEL -> IO PerformanceValueDataINTEL Source #
newtype PerformanceConfigurationTypeINTEL Source #
VkPerformanceConfigurationTypeINTEL - Type of performance configuration
See Also
Constructors
| PerformanceConfigurationTypeINTEL Int32 |
Bundled Patterns
| pattern PERFORMANCE_CONFIGURATION_TYPE_COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL :: PerformanceConfigurationTypeINTEL |
Instances
newtype QueryPoolSamplingModeINTEL Source #
VkQueryPoolSamplingModeINTEL - Enum specifying how performance queries should be captured
See Also
Constructors
| QueryPoolSamplingModeINTEL Int32 |
Bundled Patterns
| pattern QUERY_POOL_SAMPLING_MODE_MANUAL_INTEL :: QueryPoolSamplingModeINTEL |
|
Instances
newtype PerformanceOverrideTypeINTEL Source #
Constructors
| PerformanceOverrideTypeINTEL Int32 |
Bundled Patterns
| pattern PERFORMANCE_OVERRIDE_TYPE_NULL_HARDWARE_INTEL :: PerformanceOverrideTypeINTEL |
|
| pattern PERFORMANCE_OVERRIDE_TYPE_FLUSH_GPU_CACHES_INTEL :: PerformanceOverrideTypeINTEL |
|
Instances
newtype PerformanceParameterTypeINTEL Source #
VkPerformanceParameterTypeINTEL - Parameters that can be queried
See Also
Constructors
| PerformanceParameterTypeINTEL Int32 |
Bundled Patterns
| pattern PERFORMANCE_PARAMETER_TYPE_HW_COUNTERS_SUPPORTED_INTEL :: PerformanceParameterTypeINTEL |
|
| pattern PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL :: PerformanceParameterTypeINTEL |
|
Instances
newtype PerformanceValueTypeINTEL Source #
VkPerformanceValueTypeINTEL - Type of the parameters that can be queried
See Also
Constructors
| PerformanceValueTypeINTEL Int32 |
Bundled Patterns
Instances
type INTEL_PERFORMANCE_QUERY_SPEC_VERSION = 2 Source #
pattern INTEL_PERFORMANCE_QUERY_SPEC_VERSION :: forall a. Integral a => a Source #
type INTEL_PERFORMANCE_QUERY_EXTENSION_NAME = "VK_INTEL_performance_query" Source #
pattern INTEL_PERFORMANCE_QUERY_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #
newtype PerformanceConfigurationINTEL Source #
VkPerformanceConfigurationINTEL - Device configuration for performance queries
See Also
acquirePerformanceConfigurationINTEL,
queueSetPerformanceConfigurationINTEL,
releasePerformanceConfigurationINTEL
Constructors
| PerformanceConfigurationINTEL Word64 |