XGC1
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::NetworkMemoryStats ( const MPI_Comm &  comm_in)
inline

Member Function Documentation

◆ avg_used()

double NetworkMemoryStats::avg_used ( ) const
inline
Here is the caller graph for this function:

◆ max_used()

double NetworkMemoryStats::max_used ( ) const
inline
Here is the caller graph for this function:

◆ min_used()

double NetworkMemoryStats::min_used ( ) const
inline
Here is the caller graph for this function:

◆ print()

void NetworkMemoryStats::print ( const std::string &  str) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reduce_stats()

void NetworkMemoryStats::reduce_stats ( const double  free)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ avg_free

double NetworkMemoryStats::avg_free

◆ comm

MPI_Comm NetworkMemoryStats::comm

◆ max_free

double NetworkMemoryStats::max_free

◆ max_rank

int NetworkMemoryStats::max_rank

◆ min_free

double NetworkMemoryStats::min_free

◆ min_rank

int NetworkMemoryStats::min_rank

◆ nranks

int NetworkMemoryStats::nranks

◆ total

double NetworkMemoryStats::total

◆ valid

bool NetworkMemoryStats::valid

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