diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-20 12:18:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-20 12:18:10 +0300 |
commit | 811b0152c0e3911a58c357ec84fac9f84dbe911a (patch) | |
tree | 6658623c25525417918503d8b69c9ebd29bebadd /src/net/ea/network.cpp | |
parent | 91f1d79f268b657c834c8df2c24368fc6067df81 (diff) | |
download | plus-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.gz plus-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.bz2 plus-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.xz plus-811b0152c0e3911a58c357ec84fac9f84dbe911a.zip |
Add more profiler labels.
Diffstat (limited to 'src/net/ea/network.cpp')
-rw-r--r-- | src/net/ea/network.cpp | 2 |
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() |