#include <ratio.h>

| Public Member Functions | |
| Ratio (const char *n=0, bool show=false) | |
| ~Ratio () | |
| void | add (bool success) | 
| double | ratio () const | 
| void | show () const | 
| void | clear () | 
| Private Attributes | |
| Average | ave | 
| const char * | name | 
| bool | show_on_destructor | 
| 
 | inline | 
| osl::stat::Ratio::~Ratio | ( | ) | 
Definition at line 6 of file ratio.cc.
References ave, name, osl::stat::Average::numElements(), show(), and show_on_destructor.
| 
 | inline | 
Definition at line 22 of file ratio.h.
References osl::stat::Average::add(), and ave.
Referenced by osl::checkmate::Dfpn::attack(), osl::checkmate::DualDfpn::findProof(), osl::checkmate::Dfpn::proofOracleAttack(), and osl::search::QuiescenceSearch2< EvalT >::searchMain().
| 
 | inline | 
Definition at line 25 of file ratio.h.
References ave, and osl::stat::Average::clear().
| 
 | inline | 
Definition at line 23 of file ratio.h.
References ave, and osl::stat::Average::getAverage().
| void osl::stat::Ratio::show | ( | ) | const | 
| 
 | private | 
| 
 | private | 
| 
 | private | 
 1.8.4
 1.8.4