#include <InspectorsImpl.h>
Public Member Functions | |
virtual void | addStat (const std::string &name, double data) |
Add a value for statistics name, create it if new. | |
virtual void | dumpStats (std::ostream &stream) |
Dump all statistics in CSV format. | |
virtual void | dumpStatsHeader (std::ostream &stream) |
Dump header for all statistics. | |
PerformanceInspector (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
PerformanceInspector (const Parameters ¶ms) | |
Static Public Member Functions | |
static const ParametersDoc | availableParameters () |
static const std::string | description () |
Public Attributes | |
const std::string | baseFileName |
const bool | bDumpPerfOnExit |
const bool | bDumpStats |
Protected Types | |
typedef PointMatcherSupport::Histogram < double > | Histogram |
typedef std::map< std::string, Histogram > | HistogramMap |
Protected Attributes | |
HistogramMap | stats |
Definition at line 68 of file InspectorsImpl.h.
typedef PointMatcherSupport::Histogram<double> InspectorsImpl< T >::PerformanceInspector::Histogram [protected] |
Definition at line 90 of file InspectorsImpl.h.
typedef std::map<std::string, Histogram> InspectorsImpl< T >::PerformanceInspector::HistogramMap [protected] |
Definition at line 91 of file InspectorsImpl.h.
InspectorsImpl< T >::PerformanceInspector::PerformanceInspector | ( | const std::string & | className, |
const ParametersDoc | paramsDoc, | ||
const Parameters & | params | ||
) |
Definition at line 48 of file InspectorsImpl.cpp.
InspectorsImpl< T >::PerformanceInspector::PerformanceInspector | ( | const Parameters & | params | ) |
Definition at line 58 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::PerformanceInspector::addStat | ( | const std::string & | name, |
double | data | ||
) | [virtual] |
Add a value for statistics name, create it if new.
Reimplemented from PointMatcher< T >::Inspector.
Definition at line 66 of file InspectorsImpl.cpp.
static const ParametersDoc InspectorsImpl< T >::PerformanceInspector::availableParameters | ( | ) | [inline, static] |
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 74 of file InspectorsImpl.h.
static const std::string InspectorsImpl< T >::PerformanceInspector::description | ( | ) | [inline, static] |
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 70 of file InspectorsImpl.h.
void InspectorsImpl< T >::PerformanceInspector::dumpStats | ( | std::ostream & | stream | ) | [virtual] |
Dump all statistics in CSV format.
Reimplemented from PointMatcher< T >::Inspector.
Definition at line 79 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::PerformanceInspector::dumpStatsHeader | ( | std::ostream & | stream | ) | [virtual] |
Dump header for all statistics.
Reimplemented from PointMatcher< T >::Inspector.
Definition at line 93 of file InspectorsImpl.cpp.
const std::string InspectorsImpl< T >::PerformanceInspector::baseFileName |
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 83 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::PerformanceInspector::bDumpPerfOnExit |
Definition at line 86 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::PerformanceInspector::bDumpStats |
Definition at line 87 of file InspectorsImpl.h.
HistogramMap InspectorsImpl< T >::PerformanceInspector::stats [protected] |
Definition at line 92 of file InspectorsImpl.h.