From 811b0152c0e3911a58c357ec84fac9f84dbe911a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 20 Jun 2013 12:18:10 +0300 Subject: Add more profiler labels. --- src/net/tmwa/charserverhandler.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/tmwa/charserverhandler.cpp') 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 -- cgit v1.2.3-70-g09d2