client/sim.cpp File Reference

(r16139/r16069)

#include "error_numbers.h"
#include "str_util.h"
#include "util.h"
#include "log_flags.h"
#include "filesys.h"
#include "network.h"
#include "client_msgs.h"
#include "../sched/edf_sim.h"
#include "sim.h"

Include dependency graph for sim.cpp:


Defines

#define SCHED_RETRY_DELAY_MIN   60
#define SCHED_RETRY_DELAY_MAX   (60*60*4)
#define SIM_EXEC   "../sim"
#define PROJECTS_FILE   "sim_projects.xml"
#define HOST_FILE   "sim_host.xml"
#define PREFS_FILE   "sim_prefs.xml"
#define SUMMARY_FILE   "sim_summary.txt"
#define LOG_FILE   "sim_log.txt"

Functions

void parse_error (char *file, int retval)
void help (char *prog)
char * next_arg (int argc, char **argv, int &i)
int main (int argc, char **argv)

Variables

CLIENT_STATE gstate
NET_STATUS net_status
bool user_active
double duration = 86400
double delta = 60
FILE * logfile
bool running
double running_time = 0
bool server_uses_workload = false
bool dcf_dont_use
bool dcf_stats
bool dual_dcf
bool cpu_sched_rr_only
bool work_fetch_old
int line_limit = 1000000
SIM_RESULTS sim_results
char * colors []

Define Documentation

#define HOST_FILE   "sim_host.xml"

#define LOG_FILE   "sim_log.txt"

#define PREFS_FILE   "sim_prefs.xml"

#define PROJECTS_FILE   "sim_projects.xml"

#define SCHED_RETRY_DELAY_MAX   (60*60*4)

#define SCHED_RETRY_DELAY_MIN   60

#define SIM_EXEC   "../sim"

#define SUMMARY_FILE   "sim_summary.txt"


Function Documentation

void help ( char *  prog  ) 

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Here is the call graph for this function:

char* next_arg ( int  argc,
char **  argv,
int &  i 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void parse_error ( char *  file,
int  retval 
)

Here is the caller graph for this function:


Variable Documentation

char* colors[]

Initial value:

 {
    "#ffffdd",
    "#ffddff",
    "#ddffff",
    "#ddffdd",
    "#ddddff",
    "#ffdddd",
}

bool dcf_stats

double delta = 60

bool dual_dcf

double duration = 86400

int line_limit = 1000000

FILE* logfile

bool running

double running_time = 0

bool server_uses_workload = false


Generated on Mon Oct 6 10:39:35 2008 for BOINC by  doxygen 1.5.6