CounterSample Methods

The CounterSample type exposes the following members.

  Name Description
Public method Static member Calculate(CounterSample) Calculates the performance data of the counter, using a single sample point. This method is generally used for uncalculated performance counter types.
Public method Static member Calculate(CounterSample, CounterSample) Calculates the performance data of the counter, using two sample points. This method is generally used for calculated performance counter types, such as averages.
Public method Equals(CounterSample) Indicates whether the specified CounterSample structure is equal to the current CounterSample structure.
Public method Equals(Object) Indicates whether the specified structure is a CounterSample structure and is identical to the current CounterSample structure. (Overrides ValueType.Equals(Object).)
Public method GetHashCode Gets a hash code for the current counter sample. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft