Function memUsage(double&, double&)¶
Defined in File debug.h
Function Documentation¶
-
void memUsage(double &vm_usage, double &resident_set)
Get the memory usage as reported in /proc/self/stat in terms of used VM and resident memory.
- Parameters:
vm_usage – [out] the amount of memory used in virtual memory
resident_set – [out] the resident set of this process