mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Log server map send cycle time. (#13259)
* Measure server map send time per player.
This commit is contained in:
parent
915befecc5
commit
dcf6a6a67b
4 changed files with 874 additions and 0 deletions
|
@ -423,6 +423,9 @@ private:
|
|||
// CPU usage optimization
|
||||
float m_nothing_to_send_pause_timer = 0.0f;
|
||||
|
||||
// measure how long it takes the server to send the complete map
|
||||
float m_map_send_completion_timer = 0.0f;
|
||||
|
||||
/*
|
||||
name of player using this client
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue