Storage class for the performance data collected during an algorithm (typically iteration count, time and residual)
More...
#include <performanceData.h>
|
| PerformanceData (const bool _printProgress=false, const bool _active=true) |
|
| PerformanceData (const ErrorFunction &_errorFunction, const bool _printProgress=false, const bool _active=true) |
|
void | add (const size_t _itrCount, const value_t _residual, const TensorNetwork::RankTuple _ranks=TensorNetwork::RankTuple(), const size_t _flags=0) |
|
void | add (const size_t _itrCount, const value_t _residual, const TTTensor &_x, const size_t _flags=0) |
|
void | add (const value_t _residual, const TensorNetwork::RankTuple _ranks=TensorNetwork::RankTuple(), const size_t _flags=0) |
|
void | add (const value_t _residual, const TTTensor &_x, const size_t _flags=0) |
|
void | continue_timer () |
|
void | dump_to_file (const std::string &_fileName) const |
|
size_t | get_elapsed_time () const |
|
misc::LogHistogram | get_histogram (const value_t _base, bool _assumeConvergence=false) const |
|
size_t | get_runtime () const |
|
| operator bool () const |
|
template<class T > |
PerformanceData & | operator<< (const T &_info) |
| The pipe operator allows to add everything that can be converted to string to the additional information in the header. More...
|
|
void | reset () |
|
void | start () |
|
void | stop_timer () |
|
Storage class for the performance data collected during an algorithm (typically iteration count, time and residual)
Definition at line 43 of file performanceData.h.
◆ ErrorFunction
◆ PerformanceData() [1/2]
xerus::PerformanceData::PerformanceData |
( |
const bool |
_printProgress = false , |
|
|
const bool |
_active = true |
|
) |
| |
|
inlineexplicit |
◆ PerformanceData() [2/2]
xerus::PerformanceData::PerformanceData |
( |
const ErrorFunction & |
_errorFunction, |
|
|
const bool |
_printProgress = false , |
|
|
const bool |
_active = true |
|
) |
| |
|
inlineexplicit |
◆ add() [1/4]
◆ add() [2/4]
void xerus::PerformanceData::add |
( |
const size_t |
_itrCount, |
|
|
const value_t |
_residual, |
|
|
const TTTensor & |
_x, |
|
|
const size_t |
_flags = 0 |
|
) |
| |
◆ add() [3/4]
◆ add() [4/4]
void xerus::PerformanceData::add |
( |
const value_t |
_residual, |
|
|
const TTTensor & |
_x, |
|
|
const size_t |
_flags = 0 |
|
) |
| |
◆ continue_timer()
void xerus::PerformanceData::continue_timer |
( |
| ) |
|
|
inline |
◆ dump_to_file()
void xerus::PerformanceData::dump_to_file |
( |
const std::string & |
_fileName | ) |
const |
◆ get_elapsed_time()
size_t xerus::PerformanceData::get_elapsed_time |
( |
| ) |
const |
|
inline |
◆ get_histogram()
◆ get_runtime()
size_t xerus::PerformanceData::get_runtime |
( |
| ) |
const |
|
inline |
◆ operator bool()
xerus::PerformanceData::operator bool |
( |
| ) |
const |
|
inline |
◆ operator<<()
The pipe operator allows to add everything that can be converted to string to the additional information in the header.
Definition at line 141 of file performanceData.h.
◆ reset()
void xerus::PerformanceData::reset |
( |
| ) |
|
|
inline |
◆ start()
void xerus::PerformanceData::start |
( |
| ) |
|
|
inline |
◆ stop_timer()
void xerus::PerformanceData::stop_timer |
( |
| ) |
|
|
inline |
◆ active
const bool xerus::PerformanceData::active |
◆ additionalInformation
std::string xerus::PerformanceData::additionalInformation |
◆ data
std::vector<DataPoint> xerus::PerformanceData::data |
◆ errorFunction
◆ printProgress
bool xerus::PerformanceData::printProgress |
◆ startTime
size_t xerus::PerformanceData::startTime |
◆ stopTime
size_t xerus::PerformanceData::stopTime |
The documentation for this class was generated from the following files: