PerformanceCounterSubscribed Event |
Occurs when the first user subscribes to data sampled from values belonging to this counter.
Namespace:
Demo3D.Utilities.Performance
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 18.04.00
Syntaxpublic event Action<PerformanceCounter> Subscribed
Value
Type:
SystemActionPerformanceCounter
Remarks
Logging of data should be very cheap. Therefore normally counter data is logged all the time,
regardless of whether a chart has subscribed to the logged data. If however, the collection
or computation of data is expensive, then this event (and
Unsubscribed) can be
used to switch data collection on/off.
See Also