

Public Member Functions | |
| CProgressStats (const double _granularity=0.01) | |
| ~CProgressStats () | |
| void | take_sample () |
| void | XML (std::ostream &os) const |
Private Types | |
| typedef std::vector< TSample > | TSamples |
Private Attributes | |
| double | granularity |
| double | next_sample_d |
| int | next_sample_at |
| TSamples | Samples |
Classes | |
| class | TSample |
Definition at line 164 of file mpqsStatistics.cc.
typedef std::vector<TSample> statistical_data::CProgressStats::TSamples [private] |
Definition at line 203 of file mpqsStatistics.cc.
| statistical_data::CProgressStats::CProgressStats | ( | const double | _granularity = 0.01 |
) | [inline, explicit] |
Definition at line 207 of file mpqsStatistics.cc.
| statistical_data::CProgressStats::~CProgressStats | ( | ) | [inline] |
Definition at line 210 of file mpqsStatistics.cc.
| void statistical_data::CProgressStats::take_sample | ( | ) | [inline] |
Definition at line 213 of file mpqsStatistics.cc.
References StaticRelations::Count(), granularity, next_sample_at, next_sample_d, std::vector< _Tp, _Alloc >::push_back(), Samples, and StaticFactorbaseSettings::Size().
Referenced by statistical_data::StatusReport().

| void statistical_data::CProgressStats::XML | ( | std::ostream & | os | ) | const [inline] |
Definition at line 223 of file mpqsStatistics.cc.
References std::vector< _Tp, _Alloc >::begin(), std::vector< _Tp, _Alloc >::empty(), std::vector< _Tp, _Alloc >::end(), endl(), and Samples.
Referenced by statistical_data::XML_StatusReport().

double statistical_data::CProgressStats::granularity [private] |
double statistical_data::CProgressStats::next_sample_d [private] |
int statistical_data::CProgressStats::next_sample_at [private] |
1.5.4