Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CounterSample Members

CounterSample overview

Public Constructors

public constructorCounterSample Constructor Overloaded. Initializes a new instance of the CounterSample class.

Public Fields

public fieldstatic (Shared in Visual Basic)Empty Defines an empty, uninitialized performance counter sample of type NumberOfItems32.

Public Properties

public propertyBaseValue Gets an optional, base raw value for the counter.
public propertyCounterFrequency Gets the raw counter frequency.
public propertyCounterTimeStamp Gets the counter's time stamp.
public propertyCounterType Gets the performance counter type.
public propertyRawValue Gets the raw value of the counter.
public propertySystemFrequency Gets the raw system frequency.
public propertyTimeStamp Gets the raw time stamp.
public propertyTimeStamp100nSec Gets the raw, high-fidelity time stamp.

Public Methods

public methodstatic (Shared in Visual Basic)Calculate Overloaded. Calculates the performance data using the specified counter sample data.
public methodEquals (inherited from ValueType) Overridden. Indicates whether this instance and a specified object are equal.
public methodGetHashCode (inherited from ValueType) Overridden. Returns the hash code for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from ValueType) Overridden. Returns the fully qualified type name of this instance.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

CounterSample Structure | System.Diagnostics Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.