Enum
VkGpaSampleTypeAMD
Enum providing the sample type
Values which can be set in VkGpaSampleBeginInfoAMD::sampleType
are:
typedef enum VkGpaSampleTypeAMD {
VK_GPA_SAMPLE_TYPE_CUMULATIVE_AMD = 0,
VK_GPA_SAMPLE_TYPE_TRACE_AMD = 1,
VK_GPA_SAMPLE_TYPE_TIMING_AMD = 2,
} VkGpaSampleTypeAMD;
pub struct GpaSampleTypeAMD(u32);
impl GpaSampleTypeAMD {
pub const CUMULATIVE: Self = 0;
pub const TRACE: Self = 1;
pub const TIMING: Self = 2;
}
VK_GPA_SAMPLE_TYPE_CUMULATIVE_AMDspecifies that one 64-bit result will be returned per global performance counter, representing the cumulative delta for that counter over the sample period. Cumulative samples must begin and end in the same command buffer.VK_GPA_SAMPLE_TYPE_TRACE_AMDspecifies that a buffer will be filled with SQTT results data in RGP file format, and/or streaming performance monitor data. Trace samples may span multiple command buffers.VK_GPA_SAMPLE_TYPE_TIMING_AMDspecifies that two 64-bit results will be recorded to gather timestamp data.
Parent
VK_AMD_gpa_interfaceType
Enum