statistical_data::CProgressStats Class Reference

Inheritance diagram for statistical_data::CProgressStats:

Inheritance graph
[legend]
Collaboration diagram for statistical_data::CProgressStats:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CProgressStats (const double _granularity=0.01)
 ~CProgressStats ()
void take_sample ()
void XML (std::ostream &os) const

Private Types

typedef std::vector< TSampleTSamples

Private Attributes

double granularity
double next_sample_d
int next_sample_at
TSamples Samples

Classes

class  TSample


Detailed Description

Definition at line 164 of file mpqsStatistics.cc.


Member Typedef Documentation

typedef std::vector<TSample> statistical_data::CProgressStats::TSamples [private]

Definition at line 203 of file mpqsStatistics.cc.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Member Data Documentation

double statistical_data::CProgressStats::granularity [private]

Definition at line 167 of file mpqsStatistics.cc.

Referenced by take_sample().

double statistical_data::CProgressStats::next_sample_d [private]

Definition at line 168 of file mpqsStatistics.cc.

Referenced by take_sample().

int statistical_data::CProgressStats::next_sample_at [private]

Definition at line 169 of file mpqsStatistics.cc.

Referenced by take_sample().

TSamples statistical_data::CProgressStats::Samples [private]

Definition at line 204 of file mpqsStatistics.cc.

Referenced by take_sample(), and XML().


The documentation for this class was generated from the following file:
Generated on Wed Nov 7 23:33:03 2007 for Qsieve by  doxygen 1.5.4