Structures
VkLatencyTimingsFrameReportNV
Structure containing latency data
The VkLatencyTimingsFrameReportNV structure describes latency data returned by vkGetLatencyTimingsNV
typedef struct VkLatencyTimingsFrameReportNV {
VkStructureType sType;
const void* pNext;
uint64_t presentID;
uint64_t inputSampleTimeUs;
uint64_t simStartTimeUs;
uint64_t simEndTimeUs;
uint64_t renderSubmitStartTimeUs;
uint64_t renderSubmitEndTimeUs;
uint64_t presentStartTimeUs;
uint64_t presentEndTimeUs;
uint64_t driverStartTimeUs;
uint64_t driverEndTimeUs;
uint64_t osRenderQueueStartTimeUs;
uint64_t osRenderQueueEndTimeUs;
uint64_t gpuRenderStartTimeUs;
uint64_t gpuRenderEndTimeUs;
} VkLatencyTimingsFrameReportNV;
The members of the VkLatencyTimingsFrameReportNV structure describe the following:
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.presentIDis the application provided value that is used to associate the timestamp with avkQueuePresentKHRcommand using VkPresentIdKHR::pPresentIdsfor a given present.simStartTimeUsis the timestamp written whenvkSetLatencyMarkerNVis called with theVkLatencyMarkerNVenumVK_LATENCY_MARKER_SIMULATION_START_NV.simEndTimeUsis the timestamp written whenvkSetLatencyMarkerNVis called with theVkLatencyMarkerNVenumVK_LATENCY_MARKER_SIMULATION_END_NVrenderStartTimeUsis the timestamp written whenvkSetLatencyMarkerNVis called with theVkLatencyMarkerNVenumVK_LATENCY_MARKER_RENDERSUBMIT_START_NV.renderEndTimeUsis the timestamp written whenvkSetLatencyMarkerNVis called with theVkLatencyMarkerNVenumVK_LATENCY_MARKER_RENDERSUBMIT_END_NV.presentStartTimeUsis the timestamp written whenvkSetLatencyMarkerNVis called with theVkLatencyMarkerNVenumVK_LATENCY_MARKER_PRESENT_START_NV.presentEndTimeUsis the timestamp written whenvkSetLatencyMarkerNVis called with theVkLatencyMarkerNVenumVK_LATENCY_MARKER_PRESENT_END_NV.driverStartTimeUsis the timestamp written when the firstvkQueueSubmitfor the frame is called.driverEndTimeUsis the timestamp written when the finalvkQueueSubmithands off from the Vulkan Driver.osRenderQueueStartTimeUsis the timestamp written when the finalvkQueueSubmithands off from the Vulkan Driver.osRenderQueueEndTimeUsis the timestamp written when the first submission reaches the GPU.gpuRenderStartTimeUsis the timestamp written when the first submission reaches the GPU.gpuRenderEndTimeUsis the timestamp written when the final submission finishes on the GPU for the frame.
Valid Usage (Implicit)
VUID-VkLatencyTimingsFrameReportNV-sType-sType
sType must be VK_STRUCTURE_TYPE_LATENCY_TIMINGS_FRAME_REPORT_NV