Method | Description | |
---|---|---|
GetValueAndReset ( ) : double |
Returns the current value of the sum of all different gauges attached to this one and resets their values.
|
|
RatioCounterGauge ( string name, ICounterValue numeratorGauge, ICounterValue denominatorGauge, double scale = 1 ) |
Initializes a new instance of the RatioCounterGauge class.
|
public RatioCounterGauge ( string name, ICounterValue numeratorGauge, ICounterValue denominatorGauge, double scale = 1 ) | ||
name | string | Name of the RatioCounterGauge. |
numeratorGauge | ICounterValue | The numerator for computing the ratio. |
denominatorGauge | ICounterValue | The denominator for computing the ratio. |
scale | double | Scale to measure the percentage or increase the scaling of the ratio. |