C Specification
The VkLatencyTimingsFrameReportNV structure describes latency data returned by vkGetLatencyTimingsNV
// Provided by VK_NV_low_latency2
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;Members
The members of the VkLatencyTimingsFrameReportNV structure describe the following:
Description
- 
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::pPresentIdsor VkPresentId2KHR::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_NV
- 
renderStartTimeUsis 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.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.