Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::runtime::FreeListHeap< SourceHeap > Class Template Reference

Maintain a freelist. More...

#include <Mem.h>

Inheritance diagram for galois::runtime::FreeListHeap< SourceHeap >:

Public Types

enum  { AllocSize = SourceHeap::AllocSize }
 

Public Member Functions

void clear ()
 
 FreeListHeap ()
 
 ~FreeListHeap ()
 
void * allocate (size_t size)
 
void deallocate (void *ptr)
 

Detailed Description

template<class SourceHeap>
class galois::runtime::FreeListHeap< SourceHeap >

Maintain a freelist.

Member Enumeration Documentation

template<class SourceHeap>
anonymous enum
Enumerator
AllocSize 

Constructor & Destructor Documentation

template<class SourceHeap>
galois::runtime::FreeListHeap< SourceHeap >::FreeListHeap ( )
inline
template<class SourceHeap>
galois::runtime::FreeListHeap< SourceHeap >::~FreeListHeap ( )
inline

Member Function Documentation

template<class SourceHeap>
void* galois::runtime::FreeListHeap< SourceHeap >::allocate ( size_t  size)
inline
template<class SourceHeap>
void galois::runtime::FreeListHeap< SourceHeap >::clear ( void  )
inline
template<class SourceHeap>
void galois::runtime::FreeListHeap< SourceHeap >::deallocate ( void *  ptr)
inline

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