HL::SelectMmapHeap< ThresholdBytes, SmallHeap, super > Class Template Reference

Use Mmap (here the superheap) for objects above a certain size. More...

#include <dlheap.h>

Inheritance diagram for HL::SelectMmapHeap< ThresholdBytes, SmallHeap, super >:
super

List of all members.

Public Member Functions

void * malloc (const size_t sz)
void free (void *ptr)
int remove (void *ptr)
void clear (void)

Private Attributes

SmallHeap sm

Detailed Description

template<int ThresholdBytes, class SmallHeap, class super>
class HL::SelectMmapHeap< ThresholdBytes, SmallHeap, super >

Use Mmap (here the superheap) for objects above a certain size.

Author:
Emery Berger
Parameters:
ThresholdBytes The maximum number of bytes managed by SmallHeap.
SmallHeap The heap for "small" objects.
super The heap for "large" objects.

Member Function Documentation

template<int ThresholdBytes, class SmallHeap, class super>
void HL::SelectMmapHeap< ThresholdBytes, SmallHeap, super >::clear ( void   )  [inline]
template<int ThresholdBytes, class SmallHeap, class super>
void HL::SelectMmapHeap< ThresholdBytes, SmallHeap, super >::free ( void *  ptr  )  [inline]
template<int ThresholdBytes, class SmallHeap, class super>
void* HL::SelectMmapHeap< ThresholdBytes, SmallHeap, super >::malloc ( const size_t  sz  )  [inline]
template<int ThresholdBytes, class SmallHeap, class super>
int HL::SelectMmapHeap< ThresholdBytes, SmallHeap, super >::remove ( void *  ptr  )  [inline]

Member Data Documentation

template<int ThresholdBytes, class SmallHeap, class super>
SmallHeap HL::SelectMmapHeap< ThresholdBytes, SmallHeap, super >::sm [private]

The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:30 2011 for Galois by  doxygen 1.6.3