XGCa
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 used)
 
void print (const std::string &str) const
 

Public Attributes

bool valid
 
MPI_Comm comm
 
int nranks
 
double total
 
double min_used
 
double max_used
 
double avg_used
 
int min_rank
 
int max_rank
 

Constructor & Destructor Documentation

◆ NetworkMemoryStats()

NetworkMemoryStats::NetworkMemoryStats ( const MPI_Comm &  comm_in)
inline

Member Function Documentation

◆ print()

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

◆ reduce_stats()

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

Member Data Documentation

◆ avg_used

double NetworkMemoryStats::avg_used

◆ comm

MPI_Comm NetworkMemoryStats::comm

◆ max_rank

int NetworkMemoryStats::max_rank

◆ max_used

double NetworkMemoryStats::max_used

◆ min_rank

int NetworkMemoryStats::min_rank

◆ min_used

double NetworkMemoryStats::min_used

◆ nranks

int NetworkMemoryStats::nranks

◆ total

double NetworkMemoryStats::total

◆ valid

bool NetworkMemoryStats::valid

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