다음을 통해 공유


ResourceUtilization(Double, UInt64, SystemResources) 생성자

정의

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)

매개 변수

cpuUsedPercentage
Double

CPU 사용률입니다.

memoryUsedInBytes
UInt64

바이트 단위로 사용되는 메모리(인스턴트)입니다.

systemResources
SystemResources

CPU 및 메모리 제한.

적용 대상