geopm
3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
|
#include <sys/stat.h>
#include <unistd.h>
#include <sstream>
#include "geopm_mpi_comm_split.h"
#include "geopm/SharedMemory.hpp"
#include "geopm/Environment.hpp"
#include "geopm/Exception.hpp"
#include "Controller.hpp"
#include "Comm.hpp"
#include "MPIComm.hpp"
#include "ApplicationSampler.hpp"
Functions | |
int | 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 the control algorithm with one of the other functions described in this header file. More... | |
int | geopm_ctl_create_f (int comm, struct geopm_ctl_c **ctl) |
int | geopm_comm_split_ppn1 (MPI_Comm comm, const char *tag, MPI_Comm *ppn1_comm) |
int | geopm_comm_split_shared (MPI_Comm comm, const char *tag, MPI_Comm *split_comm) |
int | geopm_comm_split (MPI_Comm comm, const char *tag, MPI_Comm *split_comm, int *is_ctl_comm) |
int geopm_comm_split | ( | MPI_Comm | comm, |
const char * | tag, | ||
MPI_Comm * | split_comm, | ||
int * | is_ctl_comm | ||
) |
int geopm_comm_split_ppn1 | ( | MPI_Comm | comm, |
const char * | tag, | ||
MPI_Comm * | ppn1_comm | ||
) |
int geopm_comm_split_shared | ( | MPI_Comm | comm, |
const char * | tag, | ||
MPI_Comm * | split_comm | ||
) |
int 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 the control algorithm with one of the other functions described in this header file.
The control algorithm relies on feedback about the application profile.
comm | The user provides an MPI communicator, which must have at least one process running on every compute node under control. |
ctl | The out parameter pointer to the created geopm_ctl_c object |
int geopm_ctl_create_f | ( | int | comm, |
struct geopm_ctl_c ** | ctl | ||
) |