PerformanceCounter Class |
A performance counter, consisting of one or more PerformanceValue.
Consider using Counter predefined counters instead.
Namespace: Demo3D.Utilities.Performance
public abstract class PerformanceCounter : IDisposable
The PerformanceCounter type exposes the following members.
| Name | Description | |
|---|---|---|
| All |
A list of all registered counters.
| |
| Description |
A description of the counter.
| |
| Name |
The name of the counter.
| |
| Running |
Set to false to indicate that the data source has stopped logging values.
|
| Name | Description | |
|---|---|---|
| Dispose |
Releases and unregisters this counter.
| |
| GetSamples |
Returns objects for accumulating data and generating samples, one for each constituent performance value.
| |
| Log |
Log a value to the chart.
| |
| Reset |
Request a reset for this value.
|
| Name | Description | |
|---|---|---|
| CounterRegistered |
Occurs when a new counter is registered.
| |
| CounterUnregistered |
Occurs when a counter is unregistered.
| |
| Disposed |
Occurs when the counter is disposed.
| |
| ResetRequest |
Occurs when Reset is called.
| |
| Subscribed |
Occurs when the first user subscribes to data sampled from values belonging to this counter.
| |
| Unsubscribed |
Occurs when the last user unsubscribes from data sampled from values belonging to this counter.
|