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 maxiter;
44 extern bool exit_on_close;
46 // Named parameters lists
47 extern struct loba_algorithms_type:
48 public named_object_list2<process, int, char** > {
49 loba_algorithms_type();
52 extern struct topologies_type:
53 public named_object_list<deployment_generator> {
58 bool parse_args(int* argc, char* argv[]);