6 #ifndef GEOPM_POLICYSTORE_H_INCLUDE
7 #define GEOPM_POLICYSTORE_H_INCLUDE
11 #include "geopm_public.h"
46 size_t max_policy_vals,
double *policy_vals);
58 size_t num_policy_vals,
const double *policy_vals);
69 const double *policy_vals);
int GEOPM_PUBLIC geopm_policystore_connect(const char *data_path)
Create a geopm policy store interface.
Definition: PolicyStore.cpp:33
int GEOPM_PUBLIC geopm_policystore_disconnect()
Destroy a geopm policy store interface and release its resources.
Definition: PolicyStore.cpp:51
int GEOPM_PUBLIC geopm_policystore_get_best(const char *agent_name, const char *profile_name, size_t max_policy_vals, double *policy_vals)
Get the best known policy for a given agent and profile.
Definition: PolicyStore.cpp:64
int GEOPM_PUBLIC geopm_policystore_set_best(const char *agent_name, const char *profile_name, size_t num_policy_vals, const double *policy_vals)
Set the best known policy for a given agent and profile.
Definition: PolicyStore.cpp:92
int GEOPM_PUBLIC geopm_policystore_set_default(const char *agent_name, size_t num_policy_vals, const double *policy_vals)
Set the default policy for a given agent.
Definition: PolicyStore.cpp:112