MADNESS  0.10.1
Public Member Functions | Public Attributes | List of all members
madness::ProfileStat< T > Struct Template Reference

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
 

Detailed Description

template<typename T>
struct madness::ProfileStat< T >

Simple container for parallel profile statistic.

Constructor & Destructor Documentation

◆ ProfileStat()

template<typename T >
madness::ProfileStat< T >::ProfileStat ( )
default

Member Function Documentation

◆ clear()

template<typename T >
void madness::ProfileStat< T >::clear ( )
inline

◆ init_par_stats()

template<typename T >
void madness::ProfileStat< T >::init_par_stats ( ProcessID  me)
inline

◆ par_reduce()

template<typename T >
void madness::ProfileStat< T >::par_reduce ( const ProfileStat< T > &  other)
inline

Member Data Documentation

◆ max

template<typename T >
T madness::ProfileStat< T >::max

◆ min

template<typename T >
T madness::ProfileStat< T >::min

◆ pmax

template<typename T >
ProcessID madness::ProfileStat< T >::pmax

◆ pmin

template<typename T >
ProcessID madness::ProfileStat< T >::pmin

◆ sum

template<typename T >
T madness::ProfileStat< T >::sum

◆ value

template<typename T >
T madness::ProfileStat< T >::value

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