// d3dukmdt.h
typedef struct _DXGK_NATIVE_FENCE_LOG_ENTRY {
UINT64 FenceValue;
D3DKMT_HANDLE hNativeFence;
UINT OperationType;
UINT64 Reserved0;
UINT64 FenceObservedGpuTimestamp;
UINT64 Reserved1;
UINT64 FenceEndGpuTimestamp;
} DXGK_NATIVE_FENCE_LOG_ENTRY;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_NATIVE_FENCE_LOG_ENTRY structure contains a native fence log entry.
FenceValueUMD payload: The newly signaled/unblocked fence value.
hNativeFenceUMD payload: User-mode D3DKMT_HANDLE of the native fence to which this operation belongs.
OperationTypeUMD payload: A DXGK_FENCE_LOG_OPERATION value that specifies the type of the operation.
Reserved0Reserved for alignment.
FenceObservedGpuTimestampGPU Payload: When OperationType is OPERATION_WAIT_UNBLOCKED, specifies the GPU time at which an unresolved wait command was seen by the engine and stalled the HWQueue.
Reserved1Reserved for alignment.
FenceEndGpuTimestampGPU Payload: GPU time at which the fence operation completed on the GPU.
For more information about native GPU fences and log buffer usage, see Native GPU fence objects.
DxgkDdiSetNativeFenceLogBuffer