6 #ifndef ADMIN_HPP_INCLUDE
7 #define ADMIN_HPP_INCLUDE
13 #include "geopm_public.h"
22 Admin(
const std::string &default_config_path,
23 const std::string &override_config_path);
26 std::ostream &std_out,
27 std::ostream &std_err);
28 std::string run(
bool do_default,
31 std::ostream &std_err);
32 std::string default_config(
void);
33 std::string override_config(
void);
34 std::string check_node(
void);
35 void check_config(
const std::map<std::string, std::string> &config_map,
36 std::vector<std::string> &policy_names,
37 std::vector<double> &policy_vals);
38 std::string print_config(
const std::map<std::string, std::string> &config_map,
39 const std::map<std::string, std::string> &override_map,
40 const std::vector<std::string> &policy_names,
41 const std::vector<double> &policy_vals);
42 static std::vector<std::string> dup_keys(
const std::map<std::string, std::string> &map_a,
43 const std::map<std::string, std::string> &map_b);
45 std::string m_default_config_path;
46 std::string m_override_config_path;
Definition: OptionParser.hpp:20
int main(int argc, const char **argv)
Definition: geopmadmin_main.cpp:13
Definition: Accumulator.cpp:12