XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
NetworkMemoryStats Struct Reference

Public Member Functions

 NetworkMemoryStats (const MPI_Comm &comm_in)
 
void reduce_stats (const double free)
 
double min_used () const
 
double max_used () const
 
double avg_used () const
 
void print (const std::string &str) const
 

Public Attributes

bool valid
 
MPI_Comm comm
 
int nranks
 
double total
 
double min_free
 
double max_free
 
double avg_free
 
int min_rank
 
int max_rank
 

Constructor & Destructor Documentation

NetworkMemoryStats::NetworkMemoryStats ( const MPI_Comm &  comm_in)
inline

Member Function Documentation

double NetworkMemoryStats::avg_used ( ) const
inline

Here is the caller graph for this function:

double NetworkMemoryStats::max_used ( ) const
inline

Here is the caller graph for this function:

double NetworkMemoryStats::min_used ( ) const
inline

Here is the caller graph for this function:

void NetworkMemoryStats::print ( const std::string &  str) const
inline

Here is the call graph for this function:

void NetworkMemoryStats::reduce_stats ( const double  free)
inline

Here is the caller graph for this function:

Member Data Documentation

double NetworkMemoryStats::avg_free
MPI_Comm NetworkMemoryStats::comm
double NetworkMemoryStats::max_free
int NetworkMemoryStats::max_rank
double NetworkMemoryStats::min_free
int NetworkMemoryStats::min_rank
int NetworkMemoryStats::nranks
double NetworkMemoryStats::total
bool NetworkMemoryStats::valid

The documentation for this struct was generated from the following file: