diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-22 20:58:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-22 20:58:13 +0300 |
commit | 8ad99cc3f4dd98f0b73a2ece9323f01099a81e80 (patch) | |
tree | 33115940e6efabec34efb71e0be6b6d7dfd7e4df /src/gui/windows/minimap.cpp | |
parent | 04f47f060f94ec0e2dfc3cccf62cff167e0ecd68 (diff) | |
download | manaverse-8ad99cc3f4dd98f0b73a2ece9323f01099a81e80.tar.gz manaverse-8ad99cc3f4dd98f0b73a2ece9323f01099a81e80.tar.bz2 manaverse-8ad99cc3f4dd98f0b73a2ece9323f01099a81e80.tar.xz manaverse-8ad99cc3f4dd98f0b73a2ece9323f01099a81e80.zip |
Add profiler lines into some functions.
Diffstat (limited to 'src/gui/windows/minimap.cpp')
-rw-r--r-- | src/gui/windows/minimap.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp index fbbb895f1..859d45b9e 100644 --- a/src/gui/windows/minimap.cpp +++ b/src/gui/windows/minimap.cpp @@ -112,6 +112,7 @@ void Minimap::deleteMapImage() void Minimap::setMap(const Map *const map) { + BLOCK_START("Minimap::setMap") std::string caption; if (map) @@ -137,6 +138,7 @@ void Minimap::setMap(const Map *const map) { if (!isSticky()) setVisible(false); + BLOCK_END("Minimap::setMap") return; } @@ -147,6 +149,7 @@ void Minimap::setMap(const Map *const map) { if (!isSticky()) setVisible(false); + BLOCK_END("Minimap::setMap") return; } const int size = surface->h * surface->w; @@ -225,6 +228,7 @@ void Minimap::setMap(const Map *const map) if (!isSticky()) setVisible(false); } + BLOCK_END("Minimap::setMap") } void Minimap::toggle() |