Atlas Runtime
Atlas::PMallocUtil Class Reference

#include <pmalloc_util.hpp>

Static Public Member Functions

static void set_default_tl_curr_arena (region_id_t rid)
 
static void set_tl_curr_arena (region_id_t rid, uint32_t val)
 
static uint32_t get_tl_curr_arena (region_id_t rid)
 
static uint32_t get_tl_next_arena (region_id_t rid)
 
static bool is_valid_tl_curr_arena (region_id_t rid)
 
static void set_cache_line_size (uint32_t sz)
 
static void set_cache_line_mask (uintptr_t mask)
 
static uint32_t get_cache_line_size ()
 
static uintptr_t get_cache_line_mask ()
 
static void * mem2ptr (void *mem)
 
static void * ptr2mem (void *ptr)
 
static size_t get_alignment ()
 
static size_t get_alignment_mask ()
 
static size_t get_metadata_size ()
 
static size_t get_smallest_actual_alloc_size ()
 
static size_t get_actual_alloc_size (size_t sz)
 
static size_t get_requested_alloc_size_from_mem (void *mem)
 
static size_t get_requested_alloc_size_from_ptr (void *ptr)
 
static size_t * get_is_allocated_ptr_from_mem (void *mem)
 
static size_t * get_is_allocated_ptr_from_ptr (void *ptr)
 
static bool is_mem_allocated (void *mem)
 
static bool is_ptr_allocated (void *ptr)
 
static uint32_t get_next_bin_number (uint32_t bin_number)
 
static bool is_cache_line_aligned (void *p)
 
static bool is_on_different_cache_line (void *p1, void *p2)
 
static uint32_t get_bin_number (size_t sz)
 

Member Function Documentation

static size_t Atlas::PMallocUtil::get_actual_alloc_size ( size_t  sz)
inlinestatic
static size_t Atlas::PMallocUtil::get_alignment ( )
inlinestatic
static size_t Atlas::PMallocUtil::get_alignment_mask ( )
inlinestatic
static uint32_t Atlas::PMallocUtil::get_bin_number ( size_t  sz)
inlinestatic
static uintptr_t Atlas::PMallocUtil::get_cache_line_mask ( )
inlinestatic
static uint32_t Atlas::PMallocUtil::get_cache_line_size ( )
inlinestatic
static size_t* Atlas::PMallocUtil::get_is_allocated_ptr_from_mem ( void *  mem)
inlinestatic
static size_t* Atlas::PMallocUtil::get_is_allocated_ptr_from_ptr ( void *  ptr)
inlinestatic
static size_t Atlas::PMallocUtil::get_metadata_size ( )
inlinestatic
static uint32_t Atlas::PMallocUtil::get_next_bin_number ( uint32_t  bin_number)
inlinestatic
static size_t Atlas::PMallocUtil::get_requested_alloc_size_from_mem ( void *  mem)
inlinestatic
static size_t Atlas::PMallocUtil::get_requested_alloc_size_from_ptr ( void *  ptr)
inlinestatic
static size_t Atlas::PMallocUtil::get_smallest_actual_alloc_size ( )
inlinestatic
static uint32_t Atlas::PMallocUtil::get_tl_curr_arena ( region_id_t  rid)
inlinestatic
static uint32_t Atlas::PMallocUtil::get_tl_next_arena ( region_id_t  rid)
inlinestatic
static bool Atlas::PMallocUtil::is_cache_line_aligned ( void *  p)
inlinestatic
static bool Atlas::PMallocUtil::is_mem_allocated ( void *  mem)
inlinestatic
static bool Atlas::PMallocUtil::is_on_different_cache_line ( void *  p1,
void *  p2 
)
inlinestatic
static bool Atlas::PMallocUtil::is_ptr_allocated ( void *  ptr)
inlinestatic
static bool Atlas::PMallocUtil::is_valid_tl_curr_arena ( region_id_t  rid)
inlinestatic
static void* Atlas::PMallocUtil::mem2ptr ( void *  mem)
inlinestatic
static void* Atlas::PMallocUtil::ptr2mem ( void *  ptr)
inlinestatic
static void Atlas::PMallocUtil::set_cache_line_mask ( uintptr_t  mask)
inlinestatic
static void Atlas::PMallocUtil::set_cache_line_size ( uint32_t  sz)
inlinestatic
static void Atlas::PMallocUtil::set_default_tl_curr_arena ( region_id_t  rid)
inlinestatic
static void Atlas::PMallocUtil::set_tl_curr_arena ( region_id_t  rid,
uint32_t  val 
)
inlinestatic

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