Function Prototype
vkGetLatencyTimingsNV
Get latency marker results
To get an array containing the newest collected latency data, call:
void vkGetLatencyTimingsNV(
VkDevice device,
VkSwapchainKHR swapchain,
VkGetLatencyMarkerInfoNV* pLatencyMarkerInfo);
device
is the device associated withswapchain
.swapchain
is the swapchain to return data from.pGetLatencyMarkerInfo
is a pointer to a VkGetLatencyMarkerInfoNV structure specifying the parameters for returning latency information.
The timings returned by vkGetLatencyTimingsNV
contain the timestamps
requested from vkSetLatencyMarkerNV and additional
implementation-specific markers defined in
VkLatencyTimingsFrameReportNV.
Valid Usage (Implicit)
VUID-vkGetLatencyTimingsNV-device-parameter
device
must be a valid VkDevice handle
VUID-vkGetLatencyTimingsNV-swapchain-parameter
swapchain
must be a valid VkSwapchainKHR handle
VUID-vkGetLatencyTimingsNV-pLatencyMarkerInfo-parameter
pLatencyMarkerInfo
must be a valid pointer to a VkGetLatencyMarkerInfoNV structure
VUID-vkGetLatencyTimingsNV-swapchain-parent
swapchain
must have been created, allocated, or retrieved from device