#include <hpp/statistics/success-bin.hh>
List of all members.
Member Typedef Documentation
Constructor & Destructor Documentation
hpp::statistics::SuccessStatistics::SuccessStatistics |
( |
const std::string |
name = "" , |
|
|
const std::size_t & |
logRatio = 2 |
|
) |
| [inline] |
hpp::statistics::SuccessStatistics::SuccessStatistics |
( |
const SuccessStatistics & |
other | ) |
[inline] |
Member Function Documentation
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.
void hpp::statistics::SuccessStatistics::addSuccess |
( |
| ) |
[inline] |
bool hpp::statistics::SuccessStatistics::isLowRatio |
( |
const bool |
autoPrint = false | ) |
const [inline] |
std::size_t hpp::statistics::SuccessStatistics::nbFailure |
( |
| ) |
const [inline] |
Count the number of failure, in total.
std::size_t hpp::statistics::SuccessStatistics::nbFailure |
( |
const SuccessBin::Reason & |
r | ) |
const [inline] |
Count the number of a particular failure.
std::size_t hpp::statistics::SuccessStatistics::nbSuccess |
( |
| ) |
const [inline] |
Count the number of success.
Member Data Documentation