statistical_data Namespace Reference

data structures and objects related to statistical information about the progress of factorization More...


Classes

class  CDynamicFactorRating
class  CClientStats
class  CProgressStats
struct  tsample

Typedefs

typedef map< string, CClientStatsTAllClientStats

Functions

void calc_ETA (void)
void display_StatusLegend (void)
bool StatusReport (const bool force_now=false)
void XML_StatusReport (ostream &os)

Variables

CDynamicFactorRating DynamicFactorRating
int directly_sieved_DynamicFactors = 0
int directly_sieved_SpecialFactors = 0
unsigned int relations_sieved_so_far = 0
int Special_hit = 0
int Special_to_dynamic_Factor_hit = 0
int DLP_cycle_hits = 0
TAllClientStats AllClientStats
CMutex AllClientStats_Mutex
CProgressStats ProgressStats
time_t StartTimestamp = 0
time_t PreviousTimestamp = 0
int StartFilling
const int samples = 1<<4
tsample sample [samples]
int i_newest_sample = 0


Detailed Description

data structures and objects related to statistical information about the progress of factorization

Typedef Documentation

typedef map<string,CClientStats> statistical_data::TAllClientStats

Definition at line 158 of file mpqsStatistics.cc.


Function Documentation

void statistical_data::calc_ETA ( void   ) 

Definition at line 253 of file mpqsStatistics.cc.

References StaticRelations::Count(), cout_status(), endl(), statistical_data::tsample::Filling, floor(), fmod(), i_newest_sample, sample, samples, StaticFactorbaseSettings::Size(), and StartFilling.

Referenced by StatusReport().

Here is the call graph for this function:

void statistical_data::display_StatusLegend ( void   ) 

Definition at line 312 of file mpqsStatistics.cc.

References StaticRelations::Count(), cout_status(), endl(), statistical_data::tsample::Filling, PreviousTimestamp, relations_sieved_so_far, sample, samples, StartFilling, StartTimestamp, statistical_data::tsample::total_sieved, and statistical_data::tsample::Zeitpunkt.

Referenced by main().

Here is the call graph for this function:

bool statistical_data::StatusReport ( const bool  force_now = false  ) 

Definition at line 343 of file mpqsStatistics.cc.

References AllClientStats, AllClientStats_Mutex, calc_ETA(), SpecialRelations::Count(), StaticRelations::Count(), cout, cout_status(), directly_sieved_DynamicFactors, directly_sieved_SpecialFactors, DLP_cycle_hits, DynamicFactorRating, DynamicFactorRelations, DynamicFactorArrays::DynamicFactorsInUse, DynamicFactorArrays::DYNFB_threshold, endl(), statistical_data::CDynamicFactorRating::entry(), statistical_data::tsample::Filling, i_newest_sample, CMutex::lock(), n, Polynom, PreviousTimestamp, ProgressStats, relations_sieved_so_far, sample, samples, CmpqsPolynom::save(), setprecision(), setw(), SieveOffset, CServerDynamicFactorRelations::size(), StaticFactorbaseSettings::Size(), statistical_data::CDynamicFactorRating::size(), CServerDynamicFactorRelations::size_active(), CServerDynamicFactorRelations::size_passive(), Special_hit, Special_to_dynamic_Factor_hit, statistical_data::CProgressStats::take_sample(), statistical_data::tsample::total_sieved, CMutex::unlock(), and statistical_data::tsample::Zeitpunkt.

Referenced by CRelation::ComputeQuadraticCongruence(), StaticRelations::insert(), Cprocess_clients::process_data_stream(), and ExitManager::StopFactorization().

Here is the call graph for this function:

void statistical_data::XML_StatusReport ( ostream os  ) 

Definition at line 472 of file mpqsStatistics.cc.

References AllClientStats, AllClientStats_Mutex, SpecialRelations::Count(), StaticRelations::Count(), directly_sieved_DynamicFactors, DLP_cycle_hits, DynamicFactorRating, DynamicFactorRelations, ecm_curves_processed, elcu_Kurven, elcu_Phase1, elcu_Phase2, endl(), statistical_data::CDynamicFactorRating::entry(), FoundFactors, CMutex::lock(), mpz_cmp_ui(), n, ProgressStats, TFoundFactors::regarding, setprecision(), setw(), CServerDynamicFactorRelations::size(), StaticFactorbaseSettings::Size(), statistical_data::CDynamicFactorRating::size(), CServerDynamicFactorRelations::size_active(), CServerDynamicFactorRelations::size_passive(), Special_hit, Special_to_dynamic_Factor_hit, CMutex::unlock(), and statistical_data::CProgressStats::XML().

Referenced by ExitManager::StopFactorization(), and CXML_StatusServer::THREAD_XML_StatusServer().

Here is the call graph for this function:


Variable Documentation

TAllClientStats statistical_data::AllClientStats

Definition at line 159 of file mpqsStatistics.cc.

Referenced by Cprocess_clients::process_data_stream(), StatusReport(), and XML_StatusReport().

CMutex statistical_data::AllClientStats_Mutex

Definition at line 160 of file mpqsStatistics.cc.

Referenced by Cprocess_clients::process_data_stream(), StatusReport(), and XML_StatusReport().

int statistical_data::directly_sieved_DynamicFactors = 0

Definition at line 50 of file mpqsStatistics.cc.

Referenced by StatusReport(), and XML_StatusReport().

int statistical_data::directly_sieved_SpecialFactors = 0

Definition at line 51 of file mpqsStatistics.cc.

Referenced by StatusReport().

int statistical_data::DLP_cycle_hits = 0

Definition at line 65 of file mpqsStatistics.cc.

Referenced by SpecialRelations::CycleSearch(), StatusReport(), and XML_StatusReport().

CDynamicFactorRating statistical_data::DynamicFactorRating

Definition at line 49 of file mpqsStatistics.cc.

Referenced by SpecialRelations::CycleSearch(), Cprocess_clients::process_data_stream(), SpecialRelations::split_by_primefactor(), StatusReport(), and XML_StatusReport().

int statistical_data::i_newest_sample = 0

Definition at line 251 of file mpqsStatistics.cc.

Referenced by calc_ETA(), and StatusReport().

time_t statistical_data::PreviousTimestamp = 0

Definition at line 247 of file mpqsStatistics.cc.

Referenced by display_StatusLegend(), and StatusReport().

CProgressStats statistical_data::ProgressStats

Definition at line 244 of file mpqsStatistics.cc.

Referenced by main(), StatusReport(), and XML_StatusReport().

unsigned int statistical_data::relations_sieved_so_far = 0

Definition at line 52 of file mpqsStatistics.cc.

Referenced by display_StatusLegend(), and StatusReport().

tsample statistical_data::sample[samples]

Definition at line 251 of file mpqsStatistics.cc.

Referenced by calc_ETA(), display_StatusLegend(), and StatusReport().

const int statistical_data::samples = 1<<4

Definition at line 250 of file mpqsStatistics.cc.

Referenced by calc_ETA(), display_StatusLegend(), and StatusReport().

int statistical_data::Special_hit = 0

Definition at line 63 of file mpqsStatistics.cc.

Referenced by SpecialRelations::insert(), SpecialRelations::split_by_primefactor(), StatusReport(), and XML_StatusReport().

int statistical_data::Special_to_dynamic_Factor_hit = 0

Definition at line 64 of file mpqsStatistics.cc.

Referenced by SpecialRelations::split_by_primefactor(), StatusReport(), and XML_StatusReport().

int statistical_data::StartFilling

Definition at line 248 of file mpqsStatistics.cc.

Referenced by calc_ETA(), and display_StatusLegend().

time_t statistical_data::StartTimestamp = 0

Definition at line 246 of file mpqsStatistics.cc.

Referenced by display_StatusLegend().


Generated on Wed Nov 7 23:33:01 2007 for Qsieve by  doxygen 1.5.4