6 #include "deployment.h"
7 #include "named_object_list.h"
10 // Global parameters, shared by all the processes
14 extern std::string program_name;
15 extern int help_requested;
16 extern bool version_requested;
18 // Simulation parameters
19 extern unsigned log_rate;
21 // Platform and deployment
22 extern std::string platform_file;
23 extern std::string deployment_file;
25 // Automatic deployment
28 extern std::string topology;
29 extern unsigned nhosts;
33 // Load balancing algorithm
34 extern std::string loba_algo;
35 extern bool bookkeeping;
37 // Application parameters
38 extern cost_func comp_cost;
39 extern cost_func comm_cost;
40 extern unsigned maxiter;
41 extern bool exit_on_close;
43 // Named parameters lists
44 extern struct loba_algorithms_type:
45 public named_object_list2<process, int, char** > {
46 loba_algorithms_type();
49 extern struct topologies_type:
50 public named_object_list<deployment_generator> {
55 int parse_args(int* argc, char* argv[]);