Click or drag to resize

CounterQueue Class

Logs queue statistics: the current length of the queue, the number of items dequeued per second, and rate at which the queue is growing/shrinking.
Inheritance Hierarchy
SystemObject
  Demo3D.Utilities.PerformancePerformanceCounter
    Demo3D.Utilities.PerformanceCounterQueue

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

The CounterQueue type exposes the following members.

Properties
 NameDescription
Public propertyDescription A description of the counter.
(Inherited from PerformanceCounter)
Public propertyName The name of the counter.
(Inherited from PerformanceCounter)
Public propertyRunning Set to false to indicate that the data source has stopped logging values.
(Inherited from PerformanceCounter)
Top
Methods
 NameDescription
Public methodDequeue Decrements the number of items queued.
Public methodDequeue(Int32) Decrements the number of items queued.
Public methodDispose Releases and unregisters this counter.
(Inherited from PerformanceCounter)
Public methodEnqueue Increments the number of items queued.
Public methodEnqueue(Int32) Increments the number of items queued.
Public methodGetSamples Returns objects for accumulating data and generating samples, one for each constituent performance value.
(Inherited from PerformanceCounter)
Protected methodLog Log a value to the chart.
(Inherited from PerformanceCounter)
Public methodReset Request a reset for this value.
(Inherited from PerformanceCounter)
Top
Events
 NameDescription
Public eventDisposed Occurs when the counter is disposed.
(Inherited from PerformanceCounter)
Public eventResetRequest Occurs when Reset is called.
(Inherited from PerformanceCounter)
Public eventSubscribed Occurs when the first user subscribes to data sampled from values belonging to this counter.
(Inherited from PerformanceCounter)
Public eventUnsubscribed Occurs when the last user unsubscribes from data sampled from values belonging to this counter.
(Inherited from PerformanceCounter)
Top
See Also