Udostępnij za pośrednictwem


ResourceUtilization(Double, UInt64, SystemResources) Konstruktor

Definicja

Inicjuje ResourceUtilization nowe wystąpienie struktury.

public:
 ResourceUtilization(double cpuUsedPercentage, System::UInt64 memoryUsedInBytes, Microsoft::Extensions::Diagnostics::ResourceMonitoring::SystemResources systemResources);
public ResourceUtilization (double cpuUsedPercentage, ulong memoryUsedInBytes, Microsoft.Extensions.Diagnostics.ResourceMonitoring.SystemResources systemResources);
new Microsoft.Extensions.Diagnostics.ResourceMonitoring.ResourceUtilization : double * uint64 * Microsoft.Extensions.Diagnostics.ResourceMonitoring.SystemResources -> Microsoft.Extensions.Diagnostics.ResourceMonitoring.ResourceUtilization
Public Sub New (cpuUsedPercentage As Double, memoryUsedInBytes As ULong, systemResources As SystemResources)

Parametry

cpuUsedPercentage
Double

Wykorzystanie procesora CPU.

memoryUsedInBytes
UInt64

Pamięć używana w bajtach (natychmiastowe).

systemResources
SystemResources

Limity procesora CPU i pamięci.

Dotyczy