branchrust_reboot/main/network_profilercancel
4 Commits over 0 Days - ∞cph!
First draft of a network profiler. Featuring:
- Simple packet stats
- Advanced stats (entity name, packet size, timestamp etc)
- Filtering via timestamp, name, type, direction, realms
- Per entity bandwidth usage, showing how much % of the bandwidth is taken up by what packets
Store:
- RPC inbound/outbound
- SyncVar inbound/outbound
- PackedSyncVar inbound/outbound
- Effect inbound/outbound
Missed some metrics here and there, but critically I've managed to grab the id its going to for each one
Setup data structures to store more detailed packet information, this will be stored and handled locally rather than being sent off for analytics.
Data will be stored in a big ass circular buffer that we can then sort through to do the analytics.
These include:
- Basic data we stored before (byte size, type, etc)
- Associated entity with the packet
- Optional full packet data
- Timestamp