Galois::Runtime::MM::ThreadAwarePrivateHeap< LocalHeap > Class Template Reference

Per-thread heaps using Galois thread aware construct. More...

#include <Mem.h>

List of all members.

Public Types

enum  { AllocSize = LocalHeap::AllocSize }

Public Member Functions

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

Private Attributes

PerThreadStorage< LocalHeap > heaps

Detailed Description

template<class LocalHeap>
class Galois::Runtime::MM::ThreadAwarePrivateHeap< LocalHeap >

Per-thread heaps using Galois thread aware construct.


Member Enumeration Documentation

template<class LocalHeap >
anonymous enum
Enumerator:
AllocSize 

Constructor & Destructor Documentation

template<class LocalHeap >
Galois::Runtime::MM::ThreadAwarePrivateHeap< LocalHeap >::ThreadAwarePrivateHeap (  )  [inline]
template<class LocalHeap >
Galois::Runtime::MM::ThreadAwarePrivateHeap< LocalHeap >::~ThreadAwarePrivateHeap (  )  [inline]

Member Function Documentation

template<class LocalHeap >
void* Galois::Runtime::MM::ThreadAwarePrivateHeap< LocalHeap >::allocate ( size_t  size  )  [inline]
template<class LocalHeap >
void Galois::Runtime::MM::ThreadAwarePrivateHeap< LocalHeap >::clear (  )  [inline]
template<class LocalHeap >
void Galois::Runtime::MM::ThreadAwarePrivateHeap< LocalHeap >::deallocate ( void *  ptr  )  [inline]

Member Data Documentation

template<class LocalHeap >
PerThreadStorage<LocalHeap> Galois::Runtime::MM::ThreadAwarePrivateHeap< LocalHeap >::heaps [private]

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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1