From d812d9fac7bae4eff66a5ce8275be19d0ca77a32 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Nov 2012 21:13:16 +0300 Subject: Add own profiler and profiler info to some code. --- src/net/tmwa/charserverhandler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/tmwa/charserverhandler.cpp') diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index 039010535..4d0fae108 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -73,6 +73,7 @@ CharServerHandler::CharServerHandler() : void CharServerHandler::handleMessage(Net::MessageIn &msg) { + BLOCK_START("CharServerHandler::handleMessage") switch (msg.getId()) { case SMSG_CHAR_LOGIN: @@ -162,6 +163,7 @@ void CharServerHandler::handleMessage(Net::MessageIn &msg) default: break; } + BLOCK_END("CharServerHandler::handleMessage") } void CharServerHandler::readPlayerData(Net::MessageIn &msg, -- cgit v1.2.3-70-g09d2