Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Enumerations | Functions
Panzer_MemUtils.hpp File Reference
#include <Teuchos_Comm.hpp>
#include <iostream>
Include dependency graph for Panzer_MemUtils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  panzer::MemUsage
 The memory usage information. More...
 

Namespaces

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

Enumerations

enum  panzer::MemUsageType { panzer::MEM_USAGE_CURRENT, panzer::MEM_USAGE_PEAK }
 

Functions

void panzer::printMemoryUsage (std::ostream &os, const Teuchos::Comm< int > &comm)
 Print memory usage to stream. More...
 
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. More...
 
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. More...