summaryrefslogtreecommitdiff
path: root/src/net/ea/network.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-20 12:18:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-20 12:18:10 +0300
commit811b0152c0e3911a58c357ec84fac9f84dbe911a (patch)
tree6658623c25525417918503d8b69c9ebd29bebadd /src/net/ea/network.cpp
parent91f1d79f268b657c834c8df2c24368fc6067df81 (diff)
downloadmv-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.gz
mv-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.bz2
mv-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.xz
mv-811b0152c0e3911a58c357ec84fac9f84dbe911a.zip
Add more profiler labels.
Diffstat (limited to 'src/net/ea/network.cpp')
-rw-r--r--src/net/ea/network.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp
index 085901743..f83eab629 100644
--- a/src/net/ea/network.cpp
+++ b/src/net/ea/network.cpp
@@ -126,6 +126,7 @@ bool Network::connect(ServerInfo server)
void Network::disconnect()
{
+ BLOCK_START("Network::disconnect")
mState = IDLE;
if (mWorkerThread && SDL_GetThreadID(mWorkerThread))
@@ -141,6 +142,7 @@ void Network::disconnect()
if (mSleep > 0)
SDL_Delay(mSleep);
}
+ BLOCK_END("Network::disconnect")
}
void Network::flush()