void gather_memory_from_procs(Real end_memory, Real &avg_memory, Real &min_memory, Real &max_memory)
IndexTM< T, N > min(const IndexTM< T, N > &a_p1, const IndexTM< T, N > &a_p2)
Definition: IndexTMI.H:396
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:403
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)