diff options
author | lhofhansl <larsh@apache.org> | 2023-03-03 17:41:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-03 17:41:30 -0800 |
commit | dcf6a6a67b0c95d27093c29a3be734a17586af23 (patch) | |
tree | e7e1c02e309b2456b1968eac37afd89afb7f4c64 /src/clientiface.h | |
parent | 915befecc5dc6d48a2c0ef985eba0c6192361494 (diff) | |
download | minetest-dcf6a6a67b0c95d27093c29a3be734a17586af23.tar.xz |
Log server map send cycle time. (#13259)
* Measure server map send time per player.
Diffstat (limited to 'src/clientiface.h')
-rw-r--r-- | src/clientiface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/clientiface.h b/src/clientiface.h index d867c52fe..cda01650b 100644 --- a/src/clientiface.h +++ b/src/clientiface.h @@ -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 */ |