PerformanceCounter Properties

Properties

AliasName Gets or sets an alias name for the PerformanceCounter.
AverageValue Gets the average value from the samples of the BaseCounter.
BaseCounter Gets the PerformanceCounter object that this PerformanceCounter objects wraps.
LastValue Gets the last sample value from the samples of the BaseCounter.
LifetimeAverageValue Gets the average sample value over the entire lifetime of the BaseCounter.
LifetimeMaximumValue Gets the maximum sample value over the entire lifetime of the BaseCounter.
LifetimeSampleCount Gets the total values sampled over the entire lifetime of the BaseCounter.
MaximumValue Gets the maximum sample value from the samples of the BaseCounter.
MinimumValue Gets the minimum sample value from the samples of the BaseCounter.
SampleAdjuster Gets or sets an optional custom sample adjustment function. Can be used to apply linear adjustments to sampled values.
SampleFilter Gets or sets an optional custom sample filter function. Can be used to skip sampled values that are unreasonable.
Samples Gets a list of sampled values from the BaseCounter
SamplingWindow Gets or sets the number of samples to use to determine the LastValue, MinimumValue, MaximumValue and AverageValue.
ValueDivisor Gets or sets the divisor to be applied to the LastValue, MinimumValue, MaximumValue and AverageValue.
ValueUnit Gets or sets the measurement unit of LastValue, MinimumValue, MaximumValue and AverageValue

See Also