Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains data for memory pressure reporting.
Syntax
typedef struct _D3DMEMORYPRESSURE {
UINT64 BytesEvictedFromProcess;
UINT64 SizeOfInefficientAllocation;
DWORD LevelOfEfficiency;
} D3DMEMORYPRESSURE;
Members
-
BytesEvictedFromProcess
-
The number of bytes that were evicted by the process during the duration of the query.
-
SizeOfInefficientAllocation
-
The total number of bytes placed in nonoptimal memory segments, due to inadequate space within the preferred memory segments.
-
LevelOfEfficiency
-
The overall efficiency of the memory allocations that were placed in nonoptimal memory. The value is expressed as a percentage. For example, the value 95 indicates that the allocations placed in nonpreferred memory segments are 95% efficient. This number should not be considered an exact measurement.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | D3d9types.h (include D3d9.h) |
See also