Terraria v1.4.4.9
Terraria source code documentation
|
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< CounterGroup > | s_counterGroupEnabledList |
Definition at line 8 of file CounterGroup.cs.