Click or drag to resize

PerformanceCounter Class

A performance counter, consisting of one or more PerformanceValue.

Consider using Counter predefined counters instead.

Inheritance Hierarchy
SystemObject
  Demo3D.Utilities.PerformancePerformanceCounter
    More

Namespace: Demo3D.Utilities.Performance
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntax
C#
public abstract class PerformanceCounter : IDisposable

The PerformanceCounter type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberAll A list of all registered counters.
Public propertyDescription A description of the counter.
Public propertyName The name of the counter.
Public propertyRunning Set to false to indicate that the data source has stopped logging values.
Top
Methods
 NameDescription
Public methodDispose Releases and unregisters this counter.
Public methodGetSamples Returns objects for accumulating data and generating samples, one for each constituent performance value.
Protected methodLog Log a value to the chart.
Public methodReset Request a reset for this value.
Top
Events
 NameDescription
Public eventStatic memberCounterRegistered Occurs when a new counter is registered.
Public eventStatic memberCounterUnregistered Occurs when a counter is unregistered.
Public eventDisposed Occurs when the counter is disposed.
Public eventResetRequest Occurs when Reset is called.
Public eventSubscribed Occurs when the first user subscribes to data sampled from values belonging to this counter.
Public eventUnsubscribed Occurs when the last user unsubscribes from data sampled from values belonging to this counter.
Top
See Also
Inheritance Hierarchy