geopm 3.2.1.dev535+ga96c120fc
GEOPM - Global Extensible Open Power Manager
Loading...
Searching...
No Matches
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

namespace  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 )