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);
deviceis the device associated withswapchain.swapchainis the swapchain to return data from.pLatencyMarkerInfois 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