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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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