https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Namespaces | Functions
MemoryUtils.C File Reference

Go to the source code of this file.

Namespaces

namespace  MemoryUtils
 

Functions

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