Commit a4e2ccd1 authored by berenger-bramas's avatar berenger-bramas

Add a method to know if mem stat is used.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@315 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 7fa16b1b
......@@ -80,6 +80,14 @@ public:
float getCurrentAllocatedMB() const{
return float(getCurrentAllocated()) / 1024 / 1024;
}
bool isUsed() const {
#ifdef SCALFMM_USE_MEM_STATS
return true;
#else
return false;
#endif
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment