C# 클래스 Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.WebAppPerformanceCollector.CPUPercenageGauge

Gauge that computes the CPU percentage utilized by a process by utilizing the last computed time.
상속: ICounterValue
파일 보기 프로젝트 열기: Microsoft/ApplicationInsights-dotnet-server 1 사용 예제들

공개 메소드들

메소드 설명
CPUPercenageGauge ( string name, ICounterValue value ) : System

Initializes a new instance of the CPUPercenageGauge class.

GetValueAndReset ( ) : double

Returns the percentage of the CPU process utilization time with respect to the total duration.

메소드 상세

CPUPercenageGauge() 공개 메소드

Initializes a new instance of the CPUPercenageGauge class.
public CPUPercenageGauge ( string name, ICounterValue value ) : System
name string Name of the SumUpCountersGauge.
value ICounterValue Gauges to sum.
리턴 System

GetValueAndReset() 공개 메소드

Returns the percentage of the CPU process utilization time with respect to the total duration.
public GetValueAndReset ( ) : double
리턴 double