This documentation is archived and is not being maintained.

CounterSample Members

Defines a structure that holds the raw data for a performance counter.

The CounterSample type exposes the following members.

Public method CounterSample Overloaded. Initializes a new instance of the CounterSample structure.

Public method Static member Calculate Overloaded. Calculates the performance data by using the specified counter sample data.
Public method Equals Overloaded. Indicates whether two counter samples are equal.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from 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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Public operator Static member Equality Returns a value that indicates whether two CounterSample structures are equal.
Public operator Static member Inequality Returns a value that indicates whether two CounterSample structures are not equal.

Public field Static member Empty Defines an empty, uninitialized performance counter sample of type NumberOfItems32.

Public property BaseValue Gets an optional, base raw value for the counter.
Public property CounterFrequency Gets the raw counter frequency.
Public property CounterTimeStamp Gets the counter's time stamp.
Public property CounterType Gets the performance counter type.
Public property RawValue Gets the raw value of the counter.
Public property SystemFrequency Gets the raw system frequency.
Public property TimeStamp Gets the raw time stamp.
Public property TimeStamp100nSec Gets the raw, high-fidelity time stamp.