summaryrefslogtreecommitdiff
path: root/src/resources/memorymanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-26 22:45:55 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-26 22:45:55 +0300
commit80bbbc4c18273e0d1116d7e924d1df068a5d63d5 (patch)
treebef2f6458ee7fc5079c1993921abdfc4926570bb /src/resources/memorymanager.h
parent918e2a5cf24311e87b0dc754770480727f77eac3 (diff)
downloadmv-80bbbc4c18273e0d1116d7e924d1df068a5d63d5.tar.gz
mv-80bbbc4c18273e0d1116d7e924d1df068a5d63d5.tar.bz2
mv-80bbbc4c18273e0d1116d7e924d1df068a5d63d5.tar.xz
mv-80bbbc4c18273e0d1116d7e924d1df068a5d63d5.zip
Add chat command for print memory usage. For now only report about resources.
New chat command: /dumpmemoryusage
Diffstat (limited to 'src/resources/memorymanager.h')
-rw-r--r--src/resources/memorymanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/memorymanager.h b/src/resources/memorymanager.h
index 88b55e617..658876776 100644
--- a/src/resources/memorymanager.h
+++ b/src/resources/memorymanager.h
@@ -40,6 +40,8 @@ class MemoryManager final
void printMemory(const int level,
const int localSum,
const int childsSum);
+
+ void printAllMemory();
};
extern MemoryManager memoryManager;