Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Diagnostics.Tracing.CounterGroup Class Referencesealed

Package Functions

 CounterGroup (EventSource eventSource)
 
void Add (DiagnosticCounter eventCounter)
 
void Remove (DiagnosticCounter eventCounter)
 

Static Package Functions

static CounterGroup GetCounterGroup (EventSource eventSource)
 

Private Member Functions

void RegisterCommandCallback ()
 
void OnEventSourceCommand (object sender, EventCommandEventArgs e)
 
void EnableTimer (float pollingIntervalInSeconds)
 
void DisableTimer ()
 
void ResetCounters ()
 
void OnTimer ()
 

Static Private Member Functions

static void EnsureEventSourceIndexAvailable (int eventSourceIndex)
 
static void PollForValues ()
 

Private Attributes

readonly EventSource _eventSource
 
readonly List< DiagnosticCounter_counters
 
DateTime _timeStampSinceCollectionStarted
 
int _pollingIntervalInMilliseconds
 
DateTime _nextPollingTimeStamp
 

Static Private Attributes

static readonly object s_counterGroupLock = new object()
 
static WeakReference< CounterGroup >[] s_counterGroups
 
static Thread s_pollingThread
 
static AutoResetEvent s_pollingThreadSleepEvent
 
static List< CounterGroups_counterGroupEnabledList
 

Detailed Description

Definition at line 8 of file CounterGroup.cs.


The documentation for this class was generated from the following file: