|
OPAL (Object Oriented Parallel Accelerator Library)
2024.1
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 29 of file Statistics.h.
|
private |
Definition at line 88 of file Statistics.h.
|
private |
Definition at line 87 of file Statistics.h.
|
inline |
Definition at line 33 of file Statistics.h.
|
inline |
Definition at line 34 of file Statistics.h.
|
inline |
Definition at line 44 of file Statistics.h.
References endl(), and Statistics< T >::statistics_.

|
inline |
Definition at line 58 of file Statistics.h.
References endl(), Statistics< T >::stat_name_, Statistics< T >::statistics_, sum(), and Attrib::Legacy::Distribution::T.

|
inline |
Definition at line 71 of file Statistics.h.
References endl(), Statistics< T >::stat_name_, Statistics< T >::statistics_, sum(), and Attrib::Legacy::Distribution::T.

|
inline |
Definition at line 54 of file Statistics.h.
References name, and Statistics< T >::statistics_.
|
inline |
Definition at line 36 of file Statistics.h.
References endl(), and Statistics< T >::statistics_.

|
private |
Definition at line 91 of file Statistics.h.
Referenced by Statistics< T >::dumpStatistics().
|
private |
Definition at line 90 of file Statistics.h.
Referenced by Statistics< T >::changeStatisticBy(), Statistics< T >::dumpStatistics(), Statistics< T >::getStatisticValue(), and Statistics< T >::registerStatistic().
1.8.5