Share via


SystemResources(Double, Double, UInt64, UInt64) Construtor

Definição

Inicializa uma nova instância do struct SystemResources.

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)

Parâmetros

guaranteedCpuUnits
Double

As unidades de CPU disponíveis no sistema.

maximumCpuUnits
Double

O máximo de unidades de CPU disponíveis no sistema.

guaranteedMemoryInBytes
UInt64

A memória alocada para o sistema em bytes.

maximumMemoryInBytes
UInt64

A memória máxima alocada para o sistema em bytes.

Aplica-se a