Partager via


ResourceUtilization(Double, UInt64, SystemResources) Constructeur

Définition

Initialise une nouvelle instance du struct ResourceUtilization.

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)

Paramètres

cpuUsedPercentage
Double

Utilisation du processeur.

memoryUsedInBytes
UInt64

Mémoire utilisée en octets (instantané).

systemResources
SystemResources

Limites du processeur et de la mémoire.

S’applique à