summaryrefslogtreecommitdiff
path: root/src/gui/debugwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-20 12:18:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-20 12:18:10 +0300
commit811b0152c0e3911a58c357ec84fac9f84dbe911a (patch)
tree6658623c25525417918503d8b69c9ebd29bebadd /src/gui/debugwindow.cpp
parent91f1d79f268b657c834c8df2c24368fc6067df81 (diff)
downloadplus-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.gz
plus-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.bz2
plus-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.xz
plus-811b0152c0e3911a58c357ec84fac9f84dbe911a.zip
Add more profiler labels.
Diffstat (limited to 'src/gui/debugwindow.cpp')
-rw-r--r--src/gui/debugwindow.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp
index 4fe4fbe1b..b154a59bc 100644
--- a/src/gui/debugwindow.cpp
+++ b/src/gui/debugwindow.cpp
@@ -148,6 +148,15 @@ void DebugWindow::widgetResized(const gcn::Event &event)
mDimension.width, mDimension.height));
}
+#ifdef USE_PROFILER
+void DebugWindow::logicChildren()
+{
+ BLOCK_START("DebugWindow::logicChildren")
+ BasicContainer::logicChildren();
+ BLOCK_END("DebugWindow::logicChildren")
+}
+#endif
+
MapDebugTab::MapDebugTab(const Widget2 *const widget) :
DebugTab(widget),
// TRANSLATORS: debug window label