aboutsummaryrefslogtreecommitdiff
path: root/src/clientiface.h
diff options
context:
space:
mode:
authorlhofhansl <larsh@apache.org>2023-03-03 17:41:30 -0800
committerGitHub <noreply@github.com>2023-03-03 17:41:30 -0800
commitdcf6a6a67b0c95d27093c29a3be734a17586af23 (patch)
treee7e1c02e309b2456b1968eac37afd89afb7f4c64 /src/clientiface.h
parent915befecc5dc6d48a2c0ef985eba0c6192361494 (diff)
downloadminetest-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.h3
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
*/