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

This is the base source of memory for all allocators. More...

#include <Mem.h>

Inheritance diagram for galois::runtime::SystemHeap:
galois::runtime::FreeListHeap< galois::runtime::SystemHeap > galois::runtime::BumpWithMallocHeap< galois::runtime::FreeListHeap< galois::runtime::SystemHeap > >

Public Types

enum  { AllocSize = 2 * 1024 * 1024 }
 

Public Member Functions

 SystemHeap ()
 
 ~SystemHeap ()
 
void * allocate (size_t)
 
void deallocate (void *ptr)
 

Detailed Description

This is the base source of memory for all allocators.

It maintains a freelist of chunks acquired from the system

Member Enumeration Documentation

anonymous enum
Enumerator
AllocSize 

Constructor & Destructor Documentation

SystemHeap::SystemHeap ( )
SystemHeap::~SystemHeap ( )

Member Function Documentation

void* galois::runtime::SystemHeap::allocate ( size_t  )
inline
void galois::runtime::SystemHeap::deallocate ( void *  ptr)
inline

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