CLIENT_STATE Class Reference

encapsulates the global variables of the core client. More...

#include <client_state.h>

Collaboration diagram for CLIENT_STATE:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void new_version_check ()
void all_projects_list_check ()
 CLIENT_STATE ()
void show_host_info ()
void show_proxy_info ()
int init ()
bool poll_slow_events ()
void do_io_or_sleep (double dt)
bool time_to_exit ()
PROJECTlookup_project (const char *)
APPlookup_app (PROJECT *, const char *)
FILE_INFOlookup_file_info (PROJECT *, const char *name)
RESULTlookup_result (PROJECT *, const char *)
WORKUNITlookup_workunit (PROJECT *, const char *)
APP_VERSIONlookup_app_version (APP *, char *platform, int ver, char *plan_class)
int detach_project (PROJECT *)
int report_result_error (RESULT &, const char *format,...)
int reset_project (PROJECT *, bool detaching)
double work_buf_min ()
double work_buf_additional ()
double work_buf_total ()
void request_enforce_schedule (const char *)
void request_schedule_cpus (const char *)
 Check for reschedule CPUs ASAP.
int add_project (const char *master_url, const char *authenticator, const char *project_name, bool attached_via_acct_mgr)
double runnable_resource_share ()
void request_work_fetch (const char *)
 Check if work fetch needed.
int quit_activities ()
void set_ncpus ()
double estimate_cpu_time (WORKUNIT &)
double get_fraction_done (RESULT *result)
int input_files_available (RESULT *, bool, FILE_INFO **f=0)
ACTIVE_TASKlookup_active_task_by_result (RESULT *)
ACTIVE_TASKget_task (RESULT *)
bool should_run_cpu_benchmarks ()
void start_cpu_benchmarks ()
bool cpu_benchmarks_poll ()
void abort_cpu_benchmarks ()
bool are_cpu_benchmarks_running ()
bool cpu_benchmarks_done ()
void cpu_benchmarks_set_defaults ()
void print_benchmark_results ()
void parse_cmdline (int argc, char **argv)
void parse_env_vars ()
void do_cmdline_actions ()
void check_file_existence ()
bool start_new_file_xfer (PERS_FILE_XFER &)
const char * get_primary_platform ()
int project_disk_usage (PROJECT *, double &)
int total_disk_usage (double &)
 returns the total disk usage of BOINC on this host
double allowed_disk_usage ()
int allowed_project_disk_usage (double &)
int suspend_tasks (int reason)
int resume_tasks (int reason=0)
int suspend_network (int reason)
int resume_network ()
void read_global_prefs ()
int save_global_prefs (char *prefs, char *url, char *sched)
double available_ram ()
double max_available_ram ()
int make_scheduler_request (PROJECT *)
int handle_scheduler_reply (PROJECT *, char *scheduler_url, int &nresults)
void set_client_state_dirty (const char *)
int parse_state_file ()
int write_state (MIOFILE &)
int write_state_file ()
int write_state_file_if_needed ()
void check_anonymous ()
int parse_app_info (PROJECT *, FILE *)
int write_state_gui (MIOFILE &)
int write_file_transfers_gui (MIOFILE &)
int write_tasks_gui (MIOFILE &)
int handle_trickle_down (PROJECT *, FILE *)
void check_project_pointer (PROJECT *)
void check_app_pointer (APP *)
void check_file_info_pointer (FILE_INFO *)
void check_app_version_pointer (APP_VERSION *)
void check_workunit_pointer (WORKUNIT *)
void check_result_pointer (RESULT *)
void check_pers_file_xfer_pointer (PERS_FILE_XFER *)
void check_file_xfer_pointer (FILE_XFER *)
void check_app (APP &)
void check_file_info (FILE_INFO &)
void check_file_ref (FILE_REF &)
void check_app_version (APP_VERSION &)
void check_workunit (WORKUNIT &)
void check_result (RESULT &)
void check_active_task (ACTIVE_TASK &)
void check_pers_file_xfer (PERS_FILE_XFER &)
void check_file_xfer (FILE_XFER &)
void check_all ()
void free_mem ()
int proj_min_results (PROJECT *, double)
void check_project_timeout ()
PROJECTnext_project_master_pending ()
PROJECTnext_project_sched_rpc_pending ()
PROJECTnext_project_trickle_up_pending ()
PROJECTnext_project_need_work ()
PROJECTfind_project_with_overdue_results ()
double overall_cpu_frac ()
double time_until_work_done (PROJECT *, int, double)
bool compute_work_requests ()
void scale_duration_correction_factors (double)
void generate_new_host_cpid ()
void compute_nuploading_results ()
double nearly_runnable_resource_share ()
double total_resource_share ()
double overall_cpu_frac ()
bool rr_simulation ()
double work_buf_min ()
double work_buf_additional ()
 CLIENT_STATE ()
void html_start (bool)
void html_rec ()
void html_end (bool)
double share_violation ()
double monotony ()
ACTIVE_TASKlookup_active_task_by_result (RESULT *)
int report_result_error (RESULT &, const char *format,...)
double available_ram ()
double max_available_ram ()
void set_client_state_dirty (const char *)
RESULTlookup_result (PROJECT *, const char *)
double work_buf_min ()
double work_buf_additional ()
double work_buf_total ()
void request_enforce_schedule (const char *)
void request_schedule_cpus (const char *)
bool sufficient_coprocs (APP_VERSION &)
void reserve_coprocs (APP_VERSION &)
void free_coprocs (APP_VERSION &)
double runnable_resource_share ()
void request_work_fetch (const char *)
int quit_activities ()
void set_ncpus ()
double estimate_cpu_time (WORKUNIT &)
double get_fraction_done (RESULT *result)
int input_files_available (RESULT *, bool, FILE_INFO **f=0)
ACTIVE_TASKget_task (RESULT *)
int proj_min_results (PROJECT *, double)
void check_project_timeout ()
PROJECTnext_project_master_pending ()
PROJECTnext_project_sched_rpc_pending ()
PROJECTnext_project_trickle_up_pending ()
PROJECTnext_project_need_work ()
PROJECTfind_project_with_overdue_results ()
double overall_cpu_frac ()
double time_until_work_done (PROJECT *, int, double)
bool compute_work_requests ()
void scale_duration_correction_factors (double)
void generate_new_host_cpid ()
void compute_nuploading_results ()
void make_job (SIM_PROJECT *, WORKUNIT *, RESULT *)
void handle_completed_results ()
void get_workload (vector< IP_RESULT > &)
int parse_projects (char *)
int parse_host (char *)
void simulate ()
bool scheduler_rpc_poll ()
bool simulate_rpc (PROJECT *)
void print_project_results (FILE *)

Public Attributes

vector< PLATFORMplatforms
vector< PROJECT * > projects
vector< APP * > apps
vector< FILE_INFO * > file_infos
vector< APP_VERSION * > app_versions
vector< WORKUNIT * > workunits
vector< RESULT * > results
PERS_FILE_XFER_SETpers_file_xfers
HTTP_OP_SEThttp_ops
FILE_XFER_SETfile_xfers
ACTIVE_TASK_SET active_tasks
HOST_INFO host_info
GLOBAL_PREFS global_prefs
NET_STATS net_stats
GUI_RPC_CONN_SET gui_rpcs
TIME_STATS time_stats
PROXY_INFO proxy_info
GUI_HTTP gui_http
COPROCS coprocs
VERSION_INFO core_client_version
string statefile_platform_name
int file_xfer_giveup_period
MODE run_mode
MODE network_mode
bool started_by_screensaver
bool exit_when_idle
bool exit_before_start
bool exit_after_finish
bool check_all_logins
bool user_active
bool allow_remote_gui_rpc
int cmdline_gui_rpc_port
bool show_projects
bool requested_exit
char detach_project_url [256]
 stores URL for -detach_project option
char reset_project_url [256]
 stores URL for -reset_project option
char update_prefs_url [256]
 stores URL for -update_prefs option
char main_host_venue [256]
 venue from project or AMS that gave us general prefs
char attach_project_url [256]
char attach_project_auth [256]
bool exit_before_upload
 exit when about to upload a file
gid_t boinc_project_gid
int master_fetch_period
int retry_cap
 cap project->nrpc_failures at this number
int master_fetch_retry_cap
int master_fetch_interval
 see above
int sched_retry_delay_min
int sched_retry_delay_max
int pers_retry_delay_min
int pers_retry_delay_max
int pers_giveup
bool tasks_suspended
 Don't use CPU. See check_suspend_activities for logic.
bool network_suspended
 Don't use network. See check_suspend_network for logic.
int suspend_reason
int network_suspend_reason
bool executing_as_daemon
 true if --daemon is on the commandline
bool redirect_io
 redirect stdout, stderr to log files
bool disable_graphics
bool detach_console
bool launched_by_manager
 this affects auto-update
bool run_by_updater
double now
double client_start_time
double last_wakeup_time
bool initialized
bool cant_write_state_file
 failed to write state file.
ACCT_MGR_OP acct_mgr_op
ACCT_MGR_INFO acct_mgr_info
PROJECT_INIT project_init
PROJECT_ATTACH project_attach
LOOKUP_WEBSITE_OP lookup_website_op
GET_CURRENT_VERSION_OP get_current_version_op
GET_PROJECT_LIST_OP get_project_list_op
double new_version_check_time
double all_projects_list_check_time
string newer_version
AUTO_UPDATE auto_update
bool no_gui_rpc
double retry_shmem_time
int ncpus
 number of usable cpus
SCHEDULER_OPscheduler_op
PREFS global_prefs
SIM_HOST host_info
FILE * html_out
std::string html_msg


Detailed Description

encapsulates the global variables of the core client.

Constructor & Destructor Documentation

CLIENT_STATE::CLIENT_STATE (  ) 

Here is the call graph for this function:

CLIENT_STATE::CLIENT_STATE (  ) 


Member Function Documentation

void CLIENT_STATE::new_version_check (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::all_projects_list_check (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::show_host_info (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::show_proxy_info (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::init (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

bool CLIENT_STATE::poll_slow_events (  ) 

Never blocks. Returns true if it actually did something, in which case it should be called again immediately.

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::do_io_or_sleep ( double  dt  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

bool CLIENT_STATE::time_to_exit (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

PROJECT * CLIENT_STATE::lookup_project ( const char *  master_url  ) 

Here is the caller graph for this function:

APP * CLIENT_STATE::lookup_app ( PROJECT p,
const char *  name 
)

Here is the caller graph for this function:

FILE_INFO * CLIENT_STATE::lookup_file_info ( PROJECT p,
const char *  name 
)

Here is the caller graph for this function:

RESULT * CLIENT_STATE::lookup_result ( PROJECT p,
const char *  name 
)

Here is the caller graph for this function:

WORKUNIT * CLIENT_STATE::lookup_workunit ( PROJECT p,
const char *  name 
)

Here is the caller graph for this function:

APP_VERSION * CLIENT_STATE::lookup_app_version ( APP app,
char *  platform,
int  ver,
char *  plan_class 
)

Here is the caller graph for this function:

int CLIENT_STATE::detach_project ( PROJECT project  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::report_result_error ( RESULT res,
const char *  format,
  ... 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::reset_project ( PROJECT project,
bool  detaching 
)

Here is the call graph for this function:

Here is the caller graph for this function:

double CLIENT_STATE::work_buf_min (  )  [inline]

Here is the caller graph for this function:

double CLIENT_STATE::work_buf_additional (  )  [inline]

Here is the caller graph for this function:

double CLIENT_STATE::work_buf_total (  )  [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::request_enforce_schedule ( const char *  where  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::request_schedule_cpus ( const char *  where  ) 

Check for reschedule CPUs ASAP.

Called when:

  • core client starts (CS::init())
  • an app exits (ATS::check_app_exited())
  • Tasks are killed (ATS::exit_tasks())
  • a result's input files finish downloading (CS::update_results())
  • an app fails to start (CS::schedule_cpus())
  • any project op is done via RPC (suspend/resume)
  • any result op is done via RPC (suspend/resume)

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::add_project ( const char *  master_url,
const char *  authenticator,
const char *  project_name,
bool  attached_via_acct_mgr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

double CLIENT_STATE::runnable_resource_share (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::request_work_fetch ( const char *  where  ) 

Check if work fetch needed.

Called when:

  • core client starts (CS::init())
  • task is completed or fails
  • tasks are killed
  • an RPC completes
  • project suspend/detch/attach/reset GUI RPC
  • result suspend/abort GUI RPC

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::quit_activities (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::set_ncpus (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

double CLIENT_STATE::estimate_cpu_time ( WORKUNIT  ) 

double CLIENT_STATE::get_fraction_done ( RESULT result  ) 

Here is the call graph for this function:

int CLIENT_STATE::input_files_available ( RESULT rp,
bool  verify,
FILE_INFO **  f = 0 
)

Here is the call graph for this function:

Here is the caller graph for this function:

ACTIVE_TASK * CLIENT_STATE::lookup_active_task_by_result ( RESULT rep  ) 

Here is the caller graph for this function:

ACTIVE_TASK * CLIENT_STATE::get_task ( RESULT rp  ) 

Here is the call graph for this function:

bool CLIENT_STATE::should_run_cpu_benchmarks (  ) 

Here is the caller graph for this function:

void CLIENT_STATE::start_cpu_benchmarks (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

bool CLIENT_STATE::cpu_benchmarks_poll (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::abort_cpu_benchmarks (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

bool CLIENT_STATE::are_cpu_benchmarks_running (  ) 

Here is the caller graph for this function:

bool CLIENT_STATE::cpu_benchmarks_done (  ) 

Here is the caller graph for this function:

void CLIENT_STATE::cpu_benchmarks_set_defaults (  ) 

Here is the caller graph for this function:

void CLIENT_STATE::print_benchmark_results (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::parse_cmdline ( int  argc,
char **  argv 
)

Here is the call graph for this function:

void CLIENT_STATE::parse_env_vars (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::do_cmdline_actions (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::check_file_existence (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

bool CLIENT_STATE::start_new_file_xfer ( PERS_FILE_XFER pfx  ) 

Here is the caller graph for this function:

const char * CLIENT_STATE::get_primary_platform (  ) 

Here is the caller graph for this function:

int CLIENT_STATE::project_disk_usage ( PROJECT p,
double &  size 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::total_disk_usage ( double &  size  ) 

returns the total disk usage of BOINC on this host

Here is the call graph for this function:

Here is the caller graph for this function:

double CLIENT_STATE::allowed_disk_usage (  ) 

Here is the caller graph for this function:

int CLIENT_STATE::allowed_project_disk_usage ( double &   ) 

int CLIENT_STATE::suspend_tasks ( int  reason  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::resume_tasks ( int  reason = 0  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::suspend_network ( int  reason  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::resume_network (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::read_global_prefs (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::save_global_prefs ( char *  prefs,
char *  url,
char *  sched 
)

Here is the call graph for this function:

Here is the caller graph for this function:

double CLIENT_STATE::available_ram (  ) 

Here is the caller graph for this function:

double CLIENT_STATE::max_available_ram (  ) 

Here is the caller graph for this function:

int CLIENT_STATE::make_scheduler_request ( PROJECT p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::handle_scheduler_reply ( PROJECT project,
char *  scheduler_url,
int &  nresults 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::set_client_state_dirty ( const char *  source  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::parse_state_file (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::write_state ( MIOFILE f  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::write_state_file (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::write_state_file_if_needed (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::check_anonymous (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::parse_app_info ( PROJECT p,
FILE *  in 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::write_state_gui ( MIOFILE f  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::write_file_transfers_gui ( MIOFILE f  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::write_tasks_gui ( MIOFILE f  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::handle_trickle_down ( PROJECT project,
FILE *  in 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::check_project_pointer ( PROJECT p  ) 

Here is the caller graph for this function:

void CLIENT_STATE::check_app_pointer ( APP p  ) 

Here is the caller graph for this function:

void CLIENT_STATE::check_file_info_pointer ( FILE_INFO p  ) 

Here is the caller graph for this function:

void CLIENT_STATE::check_app_version_pointer ( APP_VERSION p  ) 

Here is the caller graph for this function:

void CLIENT_STATE::check_workunit_pointer ( WORKUNIT p  ) 

Here is the caller graph for this function:

void CLIENT_STATE::check_result_pointer ( RESULT p  ) 

Here is the caller graph for this function:

void CLIENT_STATE::check_pers_file_xfer_pointer ( PERS_FILE_XFER p  ) 

Here is the caller graph for this function:

void CLIENT_STATE::check_file_xfer_pointer ( FILE_XFER p  ) 

Here is the caller graph for this function:

void CLIENT_STATE::check_app ( APP p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::check_file_info ( FILE_INFO p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::check_file_ref ( FILE_REF p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::check_app_version ( APP_VERSION p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::check_workunit ( WORKUNIT p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::check_result ( RESULT p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::check_active_task ( ACTIVE_TASK p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::check_pers_file_xfer ( PERS_FILE_XFER p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::check_file_xfer ( FILE_XFER p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::check_all (  ) 

Here is the call graph for this function:

void CLIENT_STATE::free_mem (  ) 

int CLIENT_STATE::proj_min_results ( PROJECT p,
double  subset_resource_share 
)

Here is the caller graph for this function:

void CLIENT_STATE::check_project_timeout (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

PROJECT * CLIENT_STATE::next_project_master_pending (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

PROJECT * CLIENT_STATE::next_project_sched_rpc_pending (  ) 

Here is the call graph for this function:

PROJECT * CLIENT_STATE::next_project_trickle_up_pending (  ) 

Here is the call graph for this function:

PROJECT * CLIENT_STATE::next_project_need_work (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

PROJECT * CLIENT_STATE::find_project_with_overdue_results (  ) 

Here is the call graph for this function:

double CLIENT_STATE::overall_cpu_frac (  ) 

Here is the caller graph for this function:

double CLIENT_STATE::time_until_work_done ( PROJECT p,
int  k,
double  subset_resource_share 
)

Here is the call graph for this function:

Here is the caller graph for this function:

bool CLIENT_STATE::compute_work_requests (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::scale_duration_correction_factors ( double  factor  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::generate_new_host_cpid (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::compute_nuploading_results (  ) 

Here is the caller graph for this function:

double CLIENT_STATE::nearly_runnable_resource_share (  ) 

double CLIENT_STATE::total_resource_share (  ) 

double CLIENT_STATE::overall_cpu_frac (  )  [inline]

bool CLIENT_STATE::rr_simulation (  ) 

double CLIENT_STATE::work_buf_min (  )  [inline]

double CLIENT_STATE::work_buf_additional (  )  [inline]

void CLIENT_STATE::html_start ( bool  show_prev  ) 

Here is the caller graph for this function:

void CLIENT_STATE::html_rec (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::html_end ( bool  show_next  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

double CLIENT_STATE::share_violation (  ) 

Here is the caller graph for this function:

double CLIENT_STATE::monotony (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

ACTIVE_TASK* CLIENT_STATE::lookup_active_task_by_result ( RESULT  ) 

int CLIENT_STATE::report_result_error ( RESULT ,
const char *  format,
  ... 
)

double CLIENT_STATE::available_ram (  ) 

double CLIENT_STATE::max_available_ram (  ) 

void CLIENT_STATE::set_client_state_dirty ( const char *   ) 

RESULT* CLIENT_STATE::lookup_result ( PROJECT ,
const char *   
)

double CLIENT_STATE::work_buf_min (  )  [inline]

double CLIENT_STATE::work_buf_additional (  )  [inline]

double CLIENT_STATE::work_buf_total (  )  [inline]

Here is the call graph for this function:

void CLIENT_STATE::request_enforce_schedule ( const char *   ) 

void CLIENT_STATE::request_schedule_cpus ( const char *   ) 

bool CLIENT_STATE::sufficient_coprocs ( APP_VERSION  ) 

void CLIENT_STATE::reserve_coprocs ( APP_VERSION  ) 

void CLIENT_STATE::free_coprocs ( APP_VERSION  ) 

double CLIENT_STATE::runnable_resource_share (  ) 

void CLIENT_STATE::request_work_fetch ( const char *   ) 

int CLIENT_STATE::quit_activities (  ) 

void CLIENT_STATE::set_ncpus (  ) 

double CLIENT_STATE::estimate_cpu_time ( WORKUNIT  ) 

double CLIENT_STATE::get_fraction_done ( RESULT result  ) 

int CLIENT_STATE::input_files_available ( RESULT ,
bool  ,
FILE_INFO **  f = 0 
)

ACTIVE_TASK* CLIENT_STATE::get_task ( RESULT  ) 

int CLIENT_STATE::proj_min_results ( PROJECT ,
double   
)

void CLIENT_STATE::check_project_timeout (  ) 

PROJECT* CLIENT_STATE::next_project_master_pending (  ) 

PROJECT* CLIENT_STATE::next_project_sched_rpc_pending (  ) 

PROJECT* CLIENT_STATE::next_project_trickle_up_pending (  ) 

PROJECT* CLIENT_STATE::next_project_need_work (  ) 

PROJECT* CLIENT_STATE::find_project_with_overdue_results (  ) 

double CLIENT_STATE::overall_cpu_frac (  ) 

double CLIENT_STATE::time_until_work_done ( PROJECT ,
int  ,
double   
)

bool CLIENT_STATE::compute_work_requests (  ) 

void CLIENT_STATE::scale_duration_correction_factors ( double   ) 

void CLIENT_STATE::generate_new_host_cpid (  ) 

void CLIENT_STATE::compute_nuploading_results (  ) 

void CLIENT_STATE::make_job ( SIM_PROJECT p,
WORKUNIT wup,
RESULT rp 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void CLIENT_STATE::handle_completed_results (  ) 

Here is the caller graph for this function:

void CLIENT_STATE::get_workload ( vector< IP_RESULT > &  ip_results  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::parse_projects ( char *  name  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int CLIENT_STATE::parse_host ( ch