aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-05-31 00:16:58 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-05-31 00:16:58 +0300
commit41f07328c89e04d00a541334c557f802aaa2f659 (patch)
treef1866f4330487b7287700a1ffc6bf1d1fb68a0cd
parent223b3793485a76f87599d39364b1003c2ca7c49c (diff)
downloadminetest-41f07328c89e04d00a541334c557f802aaa2f659.tar.gz
minetest-41f07328c89e04d00a541334c557f802aaa2f659.tar.bz2
minetest-41f07328c89e04d00a541334c557f802aaa2f659.zip
removed some debug prints
...and added support for simple time usage profiling in the last one.
-rw-r--r--src/server.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 6f1f1e6e8..9bcac5a64 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -379,8 +379,8 @@ void RemoteClient::GetNextBlocks(Server *server, float dtime,
{
m_nearest_unsent_reset_timer = 0;
m_nearest_unsent_d = 0;
- dstream<<"Resetting m_nearest_unsent_d for "
- <<server->getPlayerName(peer_id)<<std::endl;
+ /*dstream<<"Resetting m_nearest_unsent_d for "
+ <<server->getPlayerName(peer_id)<<std::endl;*/
}
//s16 last_nearest_unsent_d = m_nearest_unsent_d;
@@ -697,9 +697,9 @@ queue_full_break:
{
// Pause time in seconds
m_nothing_to_send_pause_timer = 1.0;
- dstream<<"nothing to send to "
+ /*dstream<<"nothing to send to "
<<server->getPlayerName(peer_id)
- <<" (d="<<d<<")"<<std::endl;
+ <<" (d="<<d<<")"<<std::endl;*/
}
}
else