6 #include "deployment.h"
7 #include "named_object_list.h"
10 // Global parameters, shared by all the processes
14 extern const double load_ratio_threshold;
17 extern std::string program_name;
18 extern int help_requested;
19 extern bool version_requested;
21 // Simulation parameters
22 extern unsigned log_rate;
24 // Platform and deployment
25 extern std::string platform_file;
26 extern std::string deployment_file;
28 // Automatic deployment
31 extern std::string topology;
32 extern unsigned nhosts;
36 // Load balancing algorithm
37 extern std::string loba_algo;
38 extern bool bookkeeping;
40 // Application parameters
41 extern cost_func comp_cost;
42 extern cost_func comm_cost;
43 extern unsigned comp_maxiter;
44 extern unsigned lb_maxiter;
45 extern bool exit_on_close;
47 // Named parameters lists
48 extern struct loba_algorithms_type:
49 public named_object_list2<process, int, char** > {
50 loba_algorithms_type();
53 extern struct topologies_type:
54 public named_object_list<deployment_generator> {
59 bool parse_args(int* argc, char* argv[]);