summaryrefslogtreecommitdiff
path: root/src/resources/memorycounter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/memorycounter.cpp')
-rw-r--r--src/resources/memorycounter.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/memorycounter.cpp b/src/resources/memorycounter.cpp
index e42a2640d..5d5131644 100644
--- a/src/resources/memorycounter.cpp
+++ b/src/resources/memorycounter.cpp
@@ -37,7 +37,10 @@ int MemoryCounter::calcMemory(const int level) const
{
const int sumLocal = calcMemoryLocal();
const int sumChilds = calcMemoryChilds(level);
- memoryManager.printMemory(level, sumLocal, sumChilds);
+ memoryManager.printMemory(getCounterName(),
+ level,
+ sumLocal,
+ sumChilds);
return sumLocal + sumChilds;
}