Defines a structure that holds the raw data for a performance counter.
Assembly: System (in System.dll)
Thetype exposes the following members.
|CounterSample(Int64, Int64, Int64, Int64, Int64, Int64, PerformanceCounterType)||Initializes a new instance of the structure and sets the CounterTimeStamp property to 0 (zero).|
|CounterSample(Int64, Int64, Int64, Int64, Int64, Int64, PerformanceCounterType, Int64)||Initializes a new instance of the structure and sets the CounterTimeStamp property to the value that is passed in.|
|BaseValue||Gets an optional, base raw value for the counter.|
|CounterFrequency||Gets the raw counter frequency.|
|CounterTimeStamp||Gets the counter's time stamp.|
|CounterType||Gets the performance counter type.|
|RawValue||Gets the raw value of the counter.|
|SystemFrequency||Gets the raw system frequency.|
|TimeStamp||Gets the raw time stamp.|
|TimeStamp100nSec||Gets the raw, high-fidelity time stamp.|
|Calculate(CounterSample)||Calculates the performance data of the counter, using a single sample point. This method is generally used for uncalculated performance counter types.|
|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.|
|Equals(CounterSample)||Indicates whether the specified structure is equal to the current structure.|
|Equals(Object)||Indicates whether the specified structure is a structure and is identical to the current structure. (Overrides ValueType.Equals(Object).)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Gets a hash code for the current counter sample. (Overrides ValueType.GetHashCode().)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns the fully qualified type name of this instance. (Inherited from ValueType.)|
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.