6 #include "named_object_list.h"
9 // Global parameters, shared by all the processes
13 extern std::string program_name;
14 extern int help_requested;
15 extern bool version_requested;
17 // Simulation parameters
18 extern unsigned log_rate;
20 // Platform and deployment
21 extern std::string platform_file;
22 extern std::string deployment_file;
24 // Automatic deployment
27 extern std::string topology;
28 extern unsigned nhosts;
32 // Load balancing algorithm
33 extern std::string loba_algo;
34 extern bool bookkeeping;
36 // Application parameters
37 extern cost_func comp_cost;
38 extern cost_func comm_cost;
39 extern unsigned maxiter;
40 extern bool exit_on_close;
42 // Named parameters lists
43 extern struct loba_algorithms_type:
44 public named_object_list2<process, int, char** > {
45 loba_algorithms_type();
49 extern struct topologies_type:
50 public named_object_list<xxx> {
56 int parse_args(int* argc, char* argv[]);