client/sim.h File Reference

(r16139/r15759)

#include <vector>
#include "app.h"
#include "time_stats.h"
#include "client_types.h"
#include "../sched/edf_sim.h"

Include dependency graph for sim.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SIM_RESULTS
struct  PROJECT_RESULTS
class  NORMAL_DIST
class  UNIFORM_DIST
class  RANDOM_PROCESS
class  SIM_APP
class  SIM_PROJECT
class  SIM_HOST
class  CLIENT_STATE
 encapsulates the global variables of the core client. More...
class  NET_STATUS

Defines

#define WORK_FETCH_DONT_NEED   0
#define WORK_FETCH_OK   1
#define WORK_FETCH_NEED   2
#define WORK_FETCH_NEED_IMMEDIATELY   3

Functions

double calculate_exponential_backoff (int n, double MIN, double MAX)
 return a random double in the range [MIN,min(e^n,MAX))

Variables

CLIENT_STATE gstate
NET_STATUS net_status
FILE * logfile
bool user_active
SIM_RESULTS sim_results
bool dcf_dont_use
bool dcf_stats
bool cpu_sched_rr_only
bool dual_dcf
bool work_fetch_old


Define Documentation

#define WORK_FETCH_DONT_NEED   0

#define WORK_FETCH_NEED   2

#define WORK_FETCH_NEED_IMMEDIATELY   3

#define WORK_FETCH_OK   1


Function Documentation

double calculate_exponential_backoff ( int  n,
double  MIN,
double  MAX 
)

return a random double in the range [MIN,min(e^n,MAX))

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

bool dcf_stats

bool dual_dcf

FILE* logfile


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