Panzer Version of the Day
Loading...
Searching...
No Matches
Namespaces | Functions
Panzer_MemUtils.cpp File Reference
#include <Panzer_MemUtils.hpp>
#include <Teuchos_CommHelpers.hpp>
Include dependency graph for Panzer_MemUtils.cpp:

Go to the source code of this file.

Namespaces

namespace  panzer
 Computes $ Ma(x)b(x)\cdots\int s(x)\nabla\phi(x)\,dx $.
 

Functions

void panzer::printMemoryUsage (std::ostream &os, const Teuchos::Comm< int > &comm)
 Print memory usage to stream.
 
void panzer::printMemoryUsage (std::ostream &s, const Teuchos::Comm< int > &comm, const MemUsage &mem)
 
void panzer::pretty (std::ostream &s, size_t num)
 
MemUsage panzer::getMemoryUsage (const Teuchos::Comm< int > &comm)
 Get memory usage in B.
 
MemUsage panzer::getPeakRSS (const Teuchos::Comm< int > &comm)
 
MemUsage panzer::getCurrentRSS (const Teuchos::Comm< int > &comm)
 
MemUsage panzer::reduceMemUsage (size_t &mem, const Teuchos::Comm< int > &comm, const MemUsageType &type)
 Reduce the memory usage over all the processors.