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/tmwa/charserverhandler.cpp | |
parent | 91f1d79f268b657c834c8df2c24368fc6067df81 (diff) | |
download | manaplus-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.gz manaplus-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.bz2 manaplus-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.xz manaplus-811b0152c0e3911a58c357ec84fac9f84dbe911a.zip |
Add more profiler labels.
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index 64626becb..c4571969e 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -315,6 +315,8 @@ void CharServerHandler::connect() void CharServerHandler::processCharLogin(Net::MessageIn &msg) { + BLOCK_START("CharServerHandler::processCharLogin") + msg.skip(2); // Length word const int slots = msg.readInt16(); if (slots > 0 && slots < 30) @@ -346,6 +348,7 @@ void CharServerHandler::processCharLogin(Net::MessageIn &msg) } Client::setState(STATE_CHAR_SELECT); + BLOCK_END("CharServerHandler::processCharLogin") } } // namespace TmwAthena |