MADNESS
0.10.1
|
Simple container for parallel profile statistic. More...
#include <worldprofile.h>
Public Member Functions | |
ProfileStat ()=default | |
void | clear () |
Zeros all data. More... | |
void | init_par_stats (ProcessID me) |
Copies local stats into parallel stats in prep for global reduction. More... | |
void | par_reduce (const ProfileStat< T > &other) |
Reduction of parallel data (max, min, sum) More... | |
Public Attributes | |
T | max |
T | min |
ProcessID | pmax |
ProcessID | pmin |
T | sum |
T | value |
Simple container for parallel profile statistic.
|
default |
|
inline |
Zeros all data.
References madness::ProfileStat< T >::max, madness::ProfileStat< T >::min, madness::ProfileStat< T >::pmax, madness::ProfileStat< T >::pmin, madness::ProfileStat< T >::sum, and madness::ProfileStat< T >::value.
Referenced by madness::WorldProfileEntry::clear().
|
inline |
Copies local stats into parallel stats in prep for global reduction.
References madness::ProfileStat< T >::max, me, madness::ProfileStat< T >::min, madness::ProfileStat< T >::pmax, madness::ProfileStat< T >::pmin, madness::ProfileStat< T >::sum, and madness::ProfileStat< T >::value.
Referenced by madness::WorldProfileEntry::init_par_stats().
|
inline |
Reduction of parallel data (max, min, sum)
References madness::ProfileStat< T >::max, madness::ProfileStat< T >::min, madness::ProfileStat< T >::pmax, madness::ProfileStat< T >::pmin, and madness::ProfileStat< T >::sum.
Referenced by madness::WorldProfileEntry::par_reduce().
T madness::ProfileStat< T >::max |
T madness::ProfileStat< T >::min |
ProcessID madness::ProfileStat< T >::pmax |
ProcessID madness::ProfileStat< T >::pmin |
T madness::ProfileStat< T >::sum |
T madness::ProfileStat< T >::value |
Referenced by madness::ProfileStat< T >::clear(), and madness::ProfileStat< T >::init_par_stats().