#include <hpp/statistics/success-bin.hh>
◆ Parent
◆ SuccessStatistics() [1/2]
| hpp::statistics::SuccessStatistics::SuccessStatistics | ( | const std::string | name = "", | | | const std::size_t & | logRatio = 2 ) |
| inline |
◆ SuccessStatistics() [2/2]
| hpp::statistics::SuccessStatistics::SuccessStatistics | ( | const SuccessStatistics & | other | ) | |
| inline |
◆ addFailure()
Add a 'failure'
- Parameters
| r | the reason of the 'failure' |
- Note
- Use macro DEFINE_REASON_FAILURE (REASON_NAME, 'Reason details') to define a new reason.
◆ addSuccess()
| void hpp::statistics::SuccessStatistics::addSuccess | ( | | ) | |
| inline |
◆ isLowRatio()
| bool hpp::statistics::SuccessStatistics::isLowRatio | ( | const bool | autoPrint = false | ) | const |
| inline |
◆ nbFailure() [1/2]
| std::size_t hpp::statistics::SuccessStatistics::nbFailure | ( | | ) | const |
| inline |
Count the number of failure, in total.
◆ nbFailure() [2/2]
| std::size_t hpp::statistics::SuccessStatistics::nbFailure | ( | const SuccessBin::Reason & | r | ) | const |
| inline |
Count the number of a particular failure.
◆ nbSuccess()
| std::size_t hpp::statistics::SuccessStatistics::nbSuccess | ( | | ) | const |
| inline |
Count the number of success.
◆ logRatio_
| std::size_t hpp::statistics::SuccessStatistics::logRatio_ |
◆ name_
| std::string hpp::statistics::SuccessStatistics::name_ |
The documentation for this class was generated from the following file: