Class GpuPerformanceInfo
Performance info for a GPU.
Inherited Members
Namespace: Microsoft.XboxStudios.DeviceConsole.Environments.Performance
Assembly: DeviceConsole.Environments.dll
Syntax
public class GpuPerformanceInfo
Constructors
View SourceGpuPerformanceInfo(string, ulong, ulong, ulong, ulong, IReadOnlyList<double>)
Initializes a new instance of the GpuPerformanceInfo class.
Declaration
public GpuPerformanceInfo(string description, ulong dedicatedMemory, ulong dedicatedMemoryUsed, ulong systemMemory, ulong systemMemoryUsed, IReadOnlyList<double> enginesUtilization)
Parameters
Type | Name | Description |
---|---|---|
string | description | The GPU description. |
ulong | dedicatedMemory | The total dedicated memory in bytes. |
ulong | dedicatedMemoryUsed | The used dedicated memory in bytes. |
ulong | systemMemory | The system memory in bytes. |
ulong | systemMemoryUsed | The memory used in bytes. |
IReadOnlyList<double> | enginesUtilization | The engines utilization as percent of maximum. |
Properties
View SourceDedicatedMemory
Gets the total dedicated memory in bytes.
Declaration
public ulong DedicatedMemory { get; }
Property Value
Type | Description |
---|---|
ulong |
DedicatedMemoryUsed
Gets the used dedicated memory in bytes.
Declaration
public ulong DedicatedMemoryUsed { get; }
Property Value
Type | Description |
---|---|
ulong |
Description
Gets the GPU description.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
string |
EnginesUtilization
Gets the engines utilization as percent of maximum.
Declaration
public IReadOnlyList<double> EnginesUtilization { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<double> |
SystemMemory
Gets the system memory in bytes.
Declaration
public ulong SystemMemory { get; }
Property Value
Type | Description |
---|---|
ulong |
SystemMemoryUsed
Gets the memory used in bytes.
Declaration
public ulong SystemMemoryUsed { get; }
Property Value
Type | Description |
---|---|
ulong |