quic/qbox
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | List of all members
gs::MemoryServices Class Reference

Public Member Functions

const charname () const
 
size_t get_shmem_seg_num () const
 
void init ()
 
 MemoryServices (MemoryServices const &)=delete
 
void operator= (MemoryServices const &)=delete
 
int get_shmem_fd (const std::string &memname)
 
uint8_t * map_file (const std::string &mapfile, uint64_t size, uint64_t offset)
 
void unmap_file (uint8_t *ptr, size_t size)
 
uint8_t * map_mem_create (const std::string &memname, uint64_t size)
 
uint8_t * map_mem_create (const std::string &memname, uint64_t size, int *fd)
 
uint8_t * map_mem_join (const std::string &memname, size_t size)
 
uint8_t * map_mem_join_new (const std::string &memname, size_t size)
 
AllocatedMemory alloc (uint64_t size)
 

Static Public Member Functions

static MemoryServicesget ()
 

The documentation for this class was generated from the following files: