Idioma

SystemResources(Double, Double, UInt64, UInt64) Construtor

Definição

Inicializa uma nova instância da SystemResources estrutura.

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

As unidades de CPU máximas disponíveis no sistema.

guaranteedMemoryInBytes
UInt64

A memória alocada para o sistema em bytes.

maximumMemoryInBytes
UInt64

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

Aplica-se a