MADNESS  version 0.9
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>

Collaboration diagram for madness::ProfileStat< T >:
Collaboration graph
[legend]

Public Member Functions

 ProfileStat ()
 Constructor initializes all members to zero. 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...
 
void clear ()
 Zeros all data. More...
 
template<class Archive >
void serialize (const Archive &ar)
 

Public Attributes

value
 
max
 
min
 
sum
 
ProcessID pmax
 
ProcessID pmin
 

Detailed Description

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

Simple container for parallel profile statistic.

Constructor & Destructor Documentation

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

Constructor initializes all members to zero.

Member Function Documentation

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

Zeros all data.

Referenced by madness::WorldProfileEntry::clear().

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

Copies local stats into parallel stats in prep for global reduction.

Referenced by madness::WorldProfileEntry::init_par_stats().

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

Reduction of parallel data (max, min, sum)

Referenced by madness::WorldProfileEntry::par_reduce().

template<typename T>
template<class Archive >
void madness::ProfileStat< T >::serialize ( const Archive &  ar)
inline

Member Data Documentation

template<typename T>
T madness::ProfileStat< T >::max
template<typename T>
T madness::ProfileStat< T >::min
template<typename T>
ProcessID madness::ProfileStat< T >::pmax
template<typename T>
ProcessID madness::ProfileStat< T >::pmin
template<typename T>
T madness::ProfileStat< T >::sum
template<typename T>
T madness::ProfileStat< T >::value

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