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

This implements a bump pointer though chunks of memory that falls back to malloc if the source heap cannot accommodate an allocation. More...

#include <Mem.h>

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

Public Types

enum  { AllocSize = 0 }
 

Public Member Functions

 BumpWithMallocHeap ()
 
 ~BumpWithMallocHeap ()
 
void clear ()
 
void * allocate (size_t size)
 
void deallocate (void *)
 

Detailed Description

template<typename SourceHeap>
class galois::runtime::BumpWithMallocHeap< SourceHeap >

This implements a bump pointer though chunks of memory that falls back to malloc if the source heap cannot accommodate an allocation.

Member Enumeration Documentation

template<typename SourceHeap>
anonymous enum
Enumerator
AllocSize 

Constructor & Destructor Documentation

template<typename SourceHeap>
galois::runtime::BumpWithMallocHeap< SourceHeap >::BumpWithMallocHeap ( )
inline
template<typename SourceHeap>
galois::runtime::BumpWithMallocHeap< SourceHeap >::~BumpWithMallocHeap ( )
inline

Member Function Documentation

template<typename SourceHeap>
void* galois::runtime::BumpWithMallocHeap< SourceHeap >::allocate ( size_t  size)
inline
template<typename SourceHeap>
void galois::runtime::BumpWithMallocHeap< SourceHeap >::clear ( void  )
inline
template<typename SourceHeap>
void galois::runtime::BumpWithMallocHeap< SourceHeap >::deallocate ( void *  )
inline

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