geopm  3.1.1.dev214+gba4f9f6d
GEOPM - Global Extensible Open Power Manager
Namespaces | Functions
geopm_shmem.cpp File Reference
#include <sstream>
#include <cstring>
#include <unistd.h>
#include "geopm/SharedMemory.hpp"
#include "geopm/Exception.hpp"
#include "geopm_shmem.h"
Include dependency graph for geopm_shmem.cpp:

Namespaces

 geopm
 

Functions

std::string geopm::shmem_path_prof (const std::string &shm_key, int pid, int uid)
 
void geopm::shmem_create_prof (const std::string &shm_key, size_t size, int pid, int uid, int gid)
 
int geopm_shmem_create_prof (const char *shm_key, size_t size, int pid, int uid, int gid)
 
int geopm_shmem_path_prof (const char *shm_key, int pid, int uid, size_t shm_path_max, char *shm_path)
 

Function Documentation

◆ geopm_shmem_create_prof()

int geopm_shmem_create_prof ( const char *  shm_key,
size_t  size,
int  pid,
int  uid,
int  gid 
)

◆ geopm_shmem_path_prof()

int geopm_shmem_path_prof ( const char *  shm_key,
int  pid,
int  uid,
size_t  shm_path_max,
char *  shm_path 
)