1 #ifndef CARMA_UTIL_VMSIZE_H
2 #define CARMA_UTIL_VMSIZE_H
81 #endif // CARMA_UTIL_VMSIZE_H
std::string getUnitsHuman()
Returns the human readable units for last measured size.
int getSizeKB()
Returns the last measured size, in KB.
std::string getStringHuman(int precision=2)
Returns a string with size and units in human readable units for last measured vm size...
VmSize()
Default constructor; vmsize for current process.
void refresh()
Get the current VM size for the process specified in the constructor.
double getSizeHuman()
Returns last measured size, in human readable units.
Class to get virtual memory size of a process.