File performance_analyzer.hpp

This file contains an performance analysis class, which takes several timers and prepares a formatted output.

Author

Benjamin Lindner ben@benlabs.net

Version

See VERSION in CMakeLists.txt

Copyright

GNU General Public License

struct PerformanceMeasure
#include <performance_analyzer.hpp>

Data entry used for performance analysis and contains timer information.

Public Members

double sum
double count
double mean
double variance
double min
double max
class PerformanceAnalyzer
#include <performance_analyzer.hpp>

Analyzes the information from a set of timers provided at construction and prepares a formatted output of the corresponding statistical information.

Public Functions

PerformanceAnalyzer(boost::mpi::communicator thisworld, std::map<boost::thread::id, Timer> &timer)
void report()
void report_relative(double totaltime)

Private Functions

void analyze()

Private Members

std::map<std::string, PerformanceMeasure> m_measures
namespace accumulators