https://mooseframework.inl.gov
Namespaces | Functions
MemoryUtils.C File Reference

Go to the source code of this file.

Namespaces

 MemoryUtils
 

Functions

std::string MemoryUtils::getMPIProcessorName ()
 get the MPI hostname More...
 
MooseEnum MemoryUtils::getMemUnitsEnum ()
 get the moose enum for the mem_unit_prefix parameter More...
 
std::size_t MemoryUtils::getTotalRAM ()
 get the total amount of physical RAM available More...
 
bool MemoryUtils::getMemoryStats (Stats &stats)
 get all memory stats for the current process stats The Stats object to fill with the data More...
 
std::size_t MemoryUtils::convertBytes (std::size_t bytes, MemUnits unit)
 convert bytes to selected unit prefix More...