Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
EventCounter (string name, EventSource eventSource) | |
void | WriteMetric (float value) |
void | WriteMetric (double value) |
override string | ToString () |
void | Dispose () |
void | AddMetadata (string key, string? value) |
Protected Member Functions | |
void | Flush () |
void | Publish () |
Package Functions | |
void | OnMetricWritten (double value) |
override void | WritePayload (float intervalSec, int pollingIntervalMillisec) |
void | ResetStatistics () |
void | ReportOutOfBandMessage (string message) |
string | GetMetadataString () |
Properties | |
string | DisplayName [get, set] |
string | DisplayUnits [get, set] |
string | Name [get] |
EventSource | EventSource [get] |
Private Member Functions | |
void | Enqueue (double value) |
Private Attributes | |
int | _count |
double | _sum |
double | _sumSquared |
double | _min |
double | _max |
readonly double[] | _bufferedValues |
volatile int | _bufferedValuesIndex |
string | _displayName = "" |
string | _displayUnits = "" |
CounterGroup | _group |
Dictionary< string, string > | _metadata |
Definition at line 8 of file EventCounter.cs.