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

[Example Third Party Allocator] More...

#include <Mem.h>

Public Types

enum  { AllocSize = 0 }
 Supported allocation size in bytes. More...
 

Public Member Functions

void * allocate (size_t size)
 
void deallocate (void *ptr)
 

Detailed Description

[Example Third Party Allocator]

Examples:
lonestar/tutorial_examples/ThirdPartyMalloc.cpp.

Member Enumeration Documentation

anonymous enum

Supported allocation size in bytes.

If 0, heap supports variable sized allocations

Enumerator
AllocSize 

Member Function Documentation

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

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