DXGKARG_SETCONTEXTSCHEDULINGPROPERTIES structure (d3dkmddi.h)

Contains arguments used in the DxgkddiSetContextSchedulingProperties callback function.

Syntax

typedef struct _DXGKARG_SETCONTEXTSCHEDULINGPROPERTIES {
  HANDLE                        hContext;
  DXGK_SCHEDULING_PRIORITY_BAND priorityBand;
  INT                           realtimeBandPriorityLevel;
  INT                           inProcessPriority;
  UINT64                        quantum;
  UINT64                        gracePeriodSamePriority;
  UINT64                        gracePeriodLowerPriority;
} DXGKARG_SETCONTEXTSCHEDULINGPROPERTIES;

Members

hContext

The hardware context to change the priority band of.

priorityBand

The priority band value assigned to this context. Assigning a context to focus and realtime priority bands requires the calling process to have SE_INC_BASE_PRIORITY_NAME privilege.

realtimeBandPriorityLevel

When the context belongs to the realtime scheduling priority band, this value indicates the priority level (0...31) within the realtime band. For all other bands, this value is ignored.

inProcessPriority

The process wide priority value, relative to other contexts of the same priority within the same process. Values range from -7 to +7. The default in process priority value is zero.

quantum

The context quantum value in 100ns units, relative to other contexts of the same priority within the same process.

gracePeriodSamePriority

The grace period value in 100ns units when this context preempts another context of the same priority within the same process.

gracePeriodLowerPriority

The grace period value in 100ns units when this context preempts another context of a lower priority within the same process. gracePeriodLowerPriority is typically smaller than gracePeriodSamePriority.

Requirements

Requirement Value
Header d3dkmddi.h

See also

DxgkddiSetContextSchedulingProperties