NetworkSerializedProfiler
A static class in Root.Township, Alta.Networking.
Collects the shared serialize timers of every INetworkSerialized type marked with ProfileNetworkSerializedAttribute, for performance stats.
- Listed in Networking and servers
Fields
| Member | What it is |
|---|---|
static Dictionary<string, AccumulativeAverageCount> prepareForWriteTimers | Each profiled type's public static prepareForWriteTimer, by type name. |
static Dictionary<string, AccumulativeAverageCount> serializeTimers | Each profiled type's public static serializeTimer, by type name. |
Methods
| Member | What it is |
|---|---|
static void ResetAllTimers() | Records and resets every collected timer, plus the EntitySerializer prepare and serialize durations. |