FAST
3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
|
#include <RuntimeMeasurement.hpp>
Public Types | |
typedef std::shared_ptr< RuntimeMeasurement > | pointer |
Public Types inherited from fast::Object | |
typedef std::shared_ptr< Object > | pointer |
Public Member Functions | |
RuntimeMeasurement (std::string name) | |
void | addSample (double runtime) |
double | getSum () const |
double | getAverage () const |
unsigned int | getSamples () const |
double | getMax () const |
double | getMin () const |
double | getStdDeviation () const |
std::string | print () const |
virtual | ~RuntimeMeasurement () |
Public Member Functions inherited from fast::Object | |
Object () | |
virtual | ~Object () |
Reporter & | getReporter () |
Additional Inherited Members | |
Static Public Member Functions inherited from fast::Object | |
static std::string | getStaticNameOfClass () |
Protected Member Functions inherited from fast::Object | |
Reporter & | reportError () |
Reporter & | reportWarning () |
Reporter & | reportInfo () |
ReporterEnd | reportEnd () const |
Protected Attributes inherited from fast::Object | |
std::weak_ptr< Object > | mPtr |
A class for a runtime measurement
typedef std::shared_ptr<RuntimeMeasurement> fast::RuntimeMeasurement::pointer |
fast::RuntimeMeasurement::RuntimeMeasurement | ( | std::string | name | ) |
|
inlinevirtual |
void fast::RuntimeMeasurement::addSample | ( | double | runtime | ) |
double fast::RuntimeMeasurement::getAverage | ( | ) | const |
double fast::RuntimeMeasurement::getMax | ( | ) | const |
double fast::RuntimeMeasurement::getMin | ( | ) | const |
unsigned int fast::RuntimeMeasurement::getSamples | ( | ) | const |
double fast::RuntimeMeasurement::getStdDeviation | ( | ) | const |
double fast::RuntimeMeasurement::getSum | ( | ) | const |
std::string fast::RuntimeMeasurement::print | ( | ) | const |