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/textmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/textmanager.cpp') diff --git a/src/textmanager.cpp b/src/textmanager.cpp index 1bd8ebef8..f44f22383 100644 --- a/src/textmanager.cpp +++ b/src/textmanager.cpp @@ -66,12 +66,14 @@ TextManager::~TextManager() void TextManager::draw(gcn::Graphics *const graphics, const int xOff, const int yOff) { + BLOCK_START("TextManager::draw") for (TextList::const_iterator bPtr = mTextList.begin(), ePtr = mTextList.end(); bPtr != ePtr; ++ bPtr) { (*bPtr)->draw(graphics, xOff, yOff); } + BLOCK_END("TextManager::draw") } void TextManager::place(const Text *const textObj, const Text *const omit, -- cgit v1.2.3-70-g09d2