Click or drag to resize

PerformanceCounter Properties

The PerformanceCounter type exposes the following members.

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