D3DKMT_UPDATETRACKEDWORKLOAD structure

Arguments used to update the tracked workload.

Note

This Tracked Workload implementation is removed from Windows 10 version 2003 until further notice, and was deprecated from earlier OS versions as part of a security fix.

Syntax

typedef struct _D3DKMT_UPDATETRACKEDWORKLOAD {
  D3DKMT_HANDLE                  hDevice;
  D3DKMT_HANDLE                  hTrackedWorkload;
  D3DKMT_TRACKEDWORKLOADDEADLINE FinishDeadline;
  UINT                           BeginTrackedWorkloadIndex;
  UINT                           EndTrackedWorkloadIndex;
  UINT64                         FenceSubmissionValue;
  UINT64                         FenceCompletedValue;
  UINT64                         GPUTimestampFrequency;
  UINT64                         GPUCalibrationTimestamp;
  UINT64                         CPUCalibrationTimestamp;
  UINT64                         *TimestampArray[D3DKMT_MAX_TRACKED_WORKLOAD_INSTANCES  2];
} D3DKMT_UPDATETRACKEDWORKLOAD;

Members

hDevice

A handle to a device.

hTrackedWorkload

A handle to a tracked workload.

FinishDeadline

Specifies the deadline by which this workload should be finished.

BeginTrackedWorkloadIndex

The index for the timestamp on the start of this workload pair (the index in the buffer pointed to by hResourceQueryTimestamps in the _D3DKMT_CREATETRACKEDWORKLOAD structure).

EndTrackedWorkloadIndex

The index for the timestamp at the end of this workload pair (the index in buffer pointed to by hResourceQueryTimestamps in the _D3DKMT_CREATETRACKEDWORKLOAD structure).

FenceSubmissionValue

The fence value for the submission of this workload.

FenceCompletedValue

The fence value for the completed workloads.

GPUTimestampFrequency

The GPU timestamp frequency for resolving query timestamps.

GPUCalibrationTimestamp

The value of the GPU calibration timestamp counter.

CPUCalibrationTimestamp

The value of the CPU calibration timestamp counter.

TimestampArray

The already read timestamp data (needed for D3D11).

Requirements

Header d3dkmthk.h