My Project
|
#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::Dfpn::blockingSimulation(), osl::checkmate::DualDfpn::findProof(), osl::checkmate::Dfpn::grandParentSimulation(), and osl::checkmate::Dfpn::proofOracleAttack().
|
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::average().
void osl::stat::Ratio::show | ( | ) | const |
|
private |
|
private |
|
private |