X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/431ac6bd7924ab99473c9a621a25ab0c555c3e60..d43e446400ac7b65d7d2dd3acd57f8f669484449:/options.h?ds=sidebyside diff --git a/options.h b/options.h index 70c9f5d..8d89808 100644 --- a/options.h +++ b/options.h @@ -1,21 +1,32 @@ #ifndef OPTIONS_H #define OPTIONS_H +#include #include "cost_func.h" // Global parameters, shared by all the processes namespace opt { - extern const char* program_name; + extern std::string program_name; - extern const char* platform_file; - extern const char* application_file; + extern std::string platform_file; + extern std::string deployment_file; extern int help_requested; extern bool version_requested; extern unsigned log_rate; + namespace auto_depl { + extern bool enabled; + extern std::string topology; + extern unsigned nhosts; + extern double load; + } + + extern std::string topology; + extern double init_load; + extern unsigned maxiter; extern bool exit_on_close;