Structures
VkGpaPerfBlockPropertiesAMD
Structure describing GPU performance API block properties for a physical device
The VkGpaPerfBlockPropertiesAMD structure is defined as:
typedef struct VkGpaPerfBlockPropertiesAMD {
VkGpaPerfBlockAMD blockType;
VkGpaPerfBlockPropertiesFlagsAMD flags;
uint32_t instanceCount;
uint32_t maxEventID;
uint32_t maxGlobalOnlyCounters;
uint32_t maxGlobalSharedCounters;
uint32_t maxStreamingCounters;
} VkGpaPerfBlockPropertiesAMD;
pub struct GpaPerfBlockPropertiesAMD {
block_type: vk::GpaPerfBlockAMD,
flags: vk::GpaPerfBlockPropertiesFlagsAMD,
instance_count: u32,
max_event_id: u32,
max_global_only_counters: u32,
max_global_shared_counters: u32,
max_streaming_counters: u32,
}
The members of the VkGpaPerfBlockPropertiesAMD structure describe the
following:
blockTypeis a VkGpaPerfBlockAMD specifying the performance block type.flagsis reserved for future use.instanceCountis the number of instances of this block that are available in the device.maxEventIDis the maximum event ID for this block.maxGlobalOnlyCountersis the number of counters available only for global counters.maxGlobalSharedCountersis the total counters available including state shared between global and streaming performance monitor counters.maxStreamingCountersis the maximum number of counters available for streaming only.
If the VkGpaPerfBlockPropertiesAMD structure is included in the pNext chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
Valid Usage (Implicit)
VUID-VkGpaPerfBlockPropertiesAMD-blockType-parameter
blockType must be a valid VkGpaPerfBlockAMD value
VUID-VkGpaPerfBlockPropertiesAMD-flags-zerobitmask
flags must be 0
Parent
VK_AMD_gpa_interfaceType
Structures