void gather_memory_from_procs(Real end_memory, Real &avg_memory, Real &min_memory, Real &max_memory)
void getMemoryUsageSize(unsigned int &residentSize, unsigned int &size)
IndexTM< T, N > min(const IndexTM< T, N > &a_p1, const IndexTM< T, N > &a_p2)
Definition: IndexTMI.H:394
unsigned int getMemorySize(void)
Definition: memusage.H:61
void getPeakMemoryFromOS(Real &VmPeak, Real &VmHWM)
void print_memory_line(const char *)
double Real
Definition: REAL.H:33
Real get_memory_usage_from_OS(void)
IndexTM< T, N > max(const IndexTM< T, N > &a_p1, const IndexTM< T, N > &a_p2)
Definition: IndexTMI.H:401
int reduce_avg_min_max_loc(Real value, Real &avg, Real &min, Real &max, int &minloc, int &maxloc)
int reduce_avg_min_max(Real value, Real &avg, Real &min, Real &max)
void getMemoryUsageFromOS(Real &residentSetSize, Real &size)
void reduce_print_avg_min_max(const char *s, Real value)