#include <hpp/statistics/success-bin.hh>
List of all members.
Member Typedef Documentation
Constructor & Destructor Documentation
hpp::statistics::SuccessStatistics::SuccessStatistics |
( |
| ) |
|
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 |
( |
| ) |
|
unsigned int hpp::statistics::SuccessStatistics::nbFailure |
( |
| ) |
const |
Count the number of failure, in total.
unsigned int hpp::statistics::SuccessStatistics::nbFailure |
( |
const SuccessBin::Reason & |
r | ) |
const |
Count the number of a particular failure.
unsigned int hpp::statistics::SuccessStatistics::nbSuccess |
( |
| ) |
const |
Count the number of success.