6 #ifndef GEOPM_CTL_H_INCLUDE
7 #define GEOPM_CTL_H_INCLUDE
13 #include "geopm_public.h"
38 struct geopm_ctl_c **ctl);
67 const pthread_attr_t *attr,
int GEOPM_PUBLIC geopm_ctl_destroy(struct geopm_ctl_c *ctl)
destroys all resources associated with the ctl structure which allocated by a previous call to geopm_...
Definition: Controller.cpp:102
int GEOPM_PUBLIC geopm_ctl_create(MPI_Comm comm, struct geopm_ctl_c **ctl)
creates a geopm_ctl_c object, ctl which is an opaque structure that holds the state used to execute t...
Definition: MPICommSplit.cpp:23
int GEOPM_PUBLIC geopm_ctl_pthread(struct geopm_ctl_c *ctl, const pthread_attr_t *attr, pthread_t *thread)
creates a POSIX thread running the control algorithm continuously until the application signals shutd...
Definition: Controller.cpp:47
int GEOPM_PUBLIC geopm_ctl_run(struct geopm_ctl_c *ctl)
steps the control algorithm continuously until the application signals shutdown.
Definition: Controller.cpp:128