SystemResources(Double, Double, UInt64, UInt64) Constructor

Definition

Initializes a new instance of the SystemResources struct.

public:
 SystemResources(double guaranteedCpuUnits, double maximumCpuUnits, System::UInt64 guaranteedMemoryInBytes, System::UInt64 maximumMemoryInBytes);
public SystemResources (double guaranteedCpuUnits, double maximumCpuUnits, ulong guaranteedMemoryInBytes, ulong maximumMemoryInBytes);
new Microsoft.Extensions.Diagnostics.ResourceMonitoring.SystemResources : double * double * uint64 * uint64 -> Microsoft.Extensions.Diagnostics.ResourceMonitoring.SystemResources
Public Sub New (guaranteedCpuUnits As Double, maximumCpuUnits As Double, guaranteedMemoryInBytes As ULong, maximumMemoryInBytes As ULong)

Parameters

guaranteedCpuUnits
Double

The CPU units available in the system.

maximumCpuUnits
Double

The maximum CPU units available in the system.

guaranteedMemoryInBytes
UInt64

The memory allocated to the system in bytes.

maximumMemoryInBytes
UInt64

The maximum memory allocated to the system in bytes.

Applies to