|
OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
#include <Pool.h>

Classes | |
| struct | Link |
Public Member Functions | |
| Pool () | |
| Pool (size_t) | |
| ~Pool () | |
| void * | alloc () |
| void | free (void *b) |
Static Public Member Functions | |
| static size_t | log2_align () |
| static size_t | align () |
| static size_t | align_mask () |
| static size_t | round_to_align (size_t s) |
Private Member Functions | |
| void | grow () |
Static Private Member Functions | |
| static size_t | page () |
| static int | blocks_in_page (size_t sz) |
Private Attributes | |
| int | outstandingAllocs |
| size_t | bsize |
| size_t | nblock |
| Link * | head |
| std::vector< char * > | chunks |
| Pool::~Pool | ( | ) |
Definition at line 52 of file Pool.cpp.
References chunks, outstandingAllocs, and PInsist.
|
inlinestatic |
Definition at line 31 of file Pool.h.
References log2_align().
Referenced by align_mask(), and round_to_align().

|
inlinestatic |
Definition at line 32 of file Pool.h.
References align().
Referenced by round_to_align().

|
inline |
Definition at line 54 of file Pool.h.
References grow(), head, Pool::Link::next, and outstandingAllocs.
Referenced by Pooled< LField< T, Dim > >::operator new().

|
inlinestaticprivate |
|
inline |
Definition at line 72 of file Pool.h.
References head, Pool::Link::next, and outstandingAllocs.
Referenced by Pooled< LField< T, Dim > >::operator delete().
|
private |
|
inlinestatic |
|
inlinestaticprivate |
Definition at line 22 of file Pool.h.
Referenced by blocks_in_page(), and grow().
|
inlinestatic |
Definition at line 34 of file Pool.h.
References align(), and align_mask().

|
private |
|
private |
|
private |
1.8.5