net-client.cc File Reference

main implementation file of Qsieve net-client More...

#include "at_startup.H"
#include <unistd.h>
#include <cstdio>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <cmath>
#include <gmp.h>
#include <list>
#include <set>
#include <ctime>
#include "qsieve.H"
#include "StaticFactorbase.H"
#include <vector>
#include <stack>
#include <algorithm>
#include <sys/utsname.h>
#include <pthread.h>
#include <sys/wait.h>
#include <csignal>
#include "mutex.H"
#include "Client_IO.H"
#include "mpqsPolynom.H"
#include "StaticRelations.H"
#include "DynamicRelations.H"
#include "SpecialRelations.H"
#include "Sieving.H"
#include "ConfigFile.cc"
#include "mpqsStatistics.cc"
#include "modulo.H"
#include "polynomial.H"
#include "fft_param.cc"
#include "elliptic_curve.H"
#include "elliptic_curve-variant.cc"
#include "StaticRelations.cc"
#include "CRelation-inc.cc"
#include "Client_IO.cc"

Include dependency graph for net-client.cc:

Go to the source code of this file.

Functions

void kill_all_other_threads ()
void cleanup_memory ()
int main (const int argc, const char *const argv[])

Variables

const string StaticRelationsFile = "static_relations.dat"
const string SpecialRelationsFile = "special_relations.dat"
string communication_name
static socket_piper SocketPiper
ostreamcommunication_stream = *SocketPiper.detach_OutPipe(256*1024)
mpz_t n
mpz_t kN
CmpqsPolynom Polynom


Detailed Description

main implementation file of Qsieve net-client

Definition in file net-client.cc.


Function Documentation

void cleanup_memory (  ) 

Definition at line 121 of file net-client.cc.

References StaticRelations::cleanup_memory(), cout, CmpqsFactor::DLP_Threshold, endl(), and mpz_clear().

Here is the call graph for this function:

void kill_all_other_threads (  ) 

Definition at line 114 of file net-client.cc.

Referenced by main().

int main ( const int  argc,
const char *const   argv[] 
)

Definition at line 134 of file net-client.cc.

References atexit(), cerr, cleanup_memory(), std::basic_ifstream< _CharT, _Traits >::close(), communication_stream, CmpqsPolynom::compute_first_polynomial(), CmpqsPolynom::compute_next_polynomial(), StaticFactorbase::compute_StaticFactorbase(), StaticRelations::Count(), cout, determine_best_MPQS_Multiplier(), statistical_data::display_StatusLegend(), CmpqsFactor::DLP_Threshold, do_sieving, elcu_Phase1, elcu_Phase2, endl(), exit(), Factor_Threshold, CClientDynamicFactorFetcher::fetch(), CClientPolynomFetcher::fetch(), elliptic_curves::go(), CClientRelation_Delivery::init(), kill_all_other_threads(), LogicalSieveSize, MARK, MPQS_Multiplier, mpz_clear(), mpz_get_d(), mpz_init(), mpz_mul(), mpz_set_ui(), PhysicalSieveSize, PrintHeader(), QsieveLogon, Read_ConfigFile(), server_port, SingleLargePrime_Threshold, StaticFactorbaseSettings::Size(), StaticFactorbaseSettings::Size_StaticFactorbase, and sqrt().

Here is the call graph for this function:


Variable Documentation

string communication_name

Definition at line 73 of file net-client.cc.

ostream& communication_stream = *SocketPiper.detach_OutPipe(256*1024)

Definition at line 78 of file net-client.cc.

mpz_t kN

Definition at line 85 of file net-client.cc.

mpz_t n

Definition at line 85 of file net-client.cc.

CmpqsPolynom Polynom

Definition at line 97 of file net-client.cc.

socket_piper SocketPiper [static]

Definition at line 77 of file net-client.cc.

const string SpecialRelationsFile = "special_relations.dat"

Definition at line 70 of file net-client.cc.

const string StaticRelationsFile = "static_relations.dat"

Definition at line 69 of file net-client.cc.


Generated on Wed Nov 7 23:30:11 2007 for Qsieve by  doxygen 1.5.4