[MP] Initial replication profiler.

Part of the current network profiler stack.
Tracks synchronizers, incoming/outgoing state sizes, and their
bandwidth usage.
This commit is contained in:
Fabio Alessandrelli
2022-11-17 03:31:23 +01:00
parent 895428c805
commit f38e116026
10 changed files with 445 additions and 44 deletions

View File

@@ -105,6 +105,10 @@ private:
return p_id.is_valid() ? Object::cast_to<T>(ObjectDB::get_instance(p_id)) : nullptr;
}
#ifdef DEBUG_ENABLED
_FORCE_INLINE_ void _profile_node_data(const String &p_what, ObjectID p_id, int p_size);
#endif
public:
static void make_default();