diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-08 22:16:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-08 22:16:08 +0300 |
commit | 72e775bac71b2d4b5103a0e8a6f03875b1617321 (patch) | |
tree | cc5c49b56702c6ded58b0a0d026bbe9c6ac4ecf8 /src/gui/widgets | |
parent | 693c51aa92d406d4ac5125d8960f740853b103b2 (diff) | |
download | plus-72e775bac71b2d4b5103a0e8a6f03875b1617321.tar.gz plus-72e775bac71b2d4b5103a0e8a6f03875b1617321.tar.bz2 plus-72e775bac71b2d4b5103a0e8a6f03875b1617321.tar.xz plus-72e775bac71b2d4b5103a0e8a6f03875b1617321.zip |
extent profiler logging into some functions.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/listbox.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/window.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp index 5010d3206..76eadff0a 100644 --- a/src/gui/widgets/listbox.cpp +++ b/src/gui/widgets/listbox.cpp @@ -299,7 +299,9 @@ void ListBox::adjustSize() void ListBox::logic() { + BLOCK_START("ListBox::logic") adjustSize(); + BLOCK_END("ListBox::logic") } int ListBox::getSelectionByMouse(const int y) const diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 12e2f74dd..542b0141f 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -1229,6 +1229,8 @@ bool Window::getOptionBool(const std::string &name) const #ifdef USE_PROFILER void Window::logic() { + BLOCK_START("Window::logic") logicChildren(); + BLOCK_END("Window::logic") } #endif |