OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
#include <Statistics.h>
Public Member Functions | |
Statistics (std::string name) | |
~Statistics () | |
void | registerStatistic (std::string name, T initial_value=0) |
void | changeStatisticBy (std::string name, T change_by_value) |
T | getStatisticValue (std::string name) |
void | dumpStatistics () |
void | dumpStatistics (std::ostringstream &stream) |
Private Types | |
typedef std::map< std::string, T > | statistics_t |
typedef std::map< std::string, T >::iterator | statistics_iterator_t |
Private Attributes | |
statistics_t | statistics_ |
std::string | stat_name_ |
Definition at line 9 of file Statistics.h.
|
private |
Definition at line 68 of file Statistics.h.
|
private |
Definition at line 67 of file Statistics.h.
|
inline |
Definition at line 13 of file Statistics.h.
|
inline |
Definition at line 14 of file Statistics.h.
|
inline |
Definition at line 24 of file Statistics.h.
References endl(), and Statistics< T >::statistics_.
|
inline |
Definition at line 38 of file Statistics.h.
References endl(), Statistics< T >::stat_name_, Statistics< T >::statistics_, sum(), and T.
|
inline |
Definition at line 51 of file Statistics.h.
References endl(), Statistics< T >::stat_name_, Statistics< T >::statistics_, sum(), and T.
|
inline |
Definition at line 34 of file Statistics.h.
References name, and Statistics< T >::statistics_.
|
inline |
Definition at line 16 of file Statistics.h.
References endl(), and Statistics< T >::statistics_.
|
private |
Definition at line 71 of file Statistics.h.
Referenced by Statistics< T >::dumpStatistics().
|
private |
Definition at line 70 of file Statistics.h.
Referenced by Statistics< T >::changeStatisticBy(), Statistics< T >::dumpStatistics(), Statistics< T >::getStatisticValue(), and Statistics< T >::registerStatistic().