Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::runtime::VariableSizeHeap Struct Reference

Scalable variable-size allocations. More...

#include <Mem.h>

Inheritance diagram for galois::runtime::VariableSizeHeap:
galois::runtime::ThreadPrivateHeap< BumpHeap< SystemHeap > >

Public Types

enum  { AllocSize = 0 }
 
- Public Types inherited from galois::runtime::ThreadPrivateHeap< BumpHeap< SystemHeap > >
enum  
 

Additional Inherited Members

- Public Member Functions inherited from galois::runtime::ThreadPrivateHeap< BumpHeap< SystemHeap > >
 ThreadPrivateHeap ()
 
 ~ThreadPrivateHeap ()
 
void * allocate (size_t size, Args &&...args)
 
void deallocate (void *ptr)
 
void clear ()
 

Detailed Description

Scalable variable-size allocations.

Slight misnomer as this doesn't support allocations greater than a page. Users should call allocate multiple times to split large allocations over multiple pages.

Member Enumeration Documentation

anonymous enum
Enumerator
AllocSize 

The documentation for this struct was generated from the following file: