![]() |
A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
|
#include <Allocator.h>
Collaboration diagram for pdb::MultiPolicyAllocator< FirstPolicy, OtherPolicies >:Public Member Functions | |
| bool | doNotFail () |
| ~MultiPolicyAllocator () | |
| void | setPolicy (AllocatorPolicy policy) |
| MultiPolicyAllocator () | |
| MultiPolicyAllocator (size_t numBytes) | |
| void | emptyOutBlock (void *here) |
| template<class ObjType > | |
| unsigned | getNumObjectsInHomeAllocatorBlock (Handle< ObjType > &forMe) |
| unsigned | getNumObjectsInCurrentAllocatorBlock () |
| unsigned | getNumObjectsInAllocatorBlock (void *forMe) |
| size_t | getBytesAvailableInCurrentAllocatorBlock () |
| bool | contains (void *whereIn) |
| bool | isManaged (void *here) |
| void * | getRAM (size_t howMuch) |
| void | freeRAM (void *here) |
| void | setupBlock (void *where, size_t numBytesIn, bool throwExceptionOnFail) |
| void | setupUserSuppliedBlock (void *where, size_t numBytesIn, bool throwExceptionOnFail) |
| template<class ObjType > | |
| void * | getAllocationBlock (Handle< ObjType > &forMe) |
| AllocatorState | temporarilyUseBlockForAllocations (void *putMeHere, size_t numBytesAvailable) |
| AllocatorState | temporarilyUseBlockForAllocations (size_t numBytesAvailable) |
| void | restoreAllocationBlock (AllocatorState &restoreMe) |
| std::string | printCurrentBlock () |
| std::string | printInactiveBlocks () |
| void | cleanInactiveBlocks () |
| void | cleanInactiveBlocks (size_t size) |
Private Attributes | |
| PolicyList< FirstPolicy, OtherPolicies...> | myPolicies |
| AllocatorState | myState |
| std::vector < InactiveAllocationBlock > | allInactives |
Friends | |
| void | makeObjectAllocatorBlock (size_t numBytesIn) |
Definition at line 407 of file Allocator.h.
| pdb::MultiPolicyAllocator< FirstPolicy, OtherPolicies >::~MultiPolicyAllocator | ( | ) |
| pdb::MultiPolicyAllocator< FirstPolicy, OtherPolicies >::MultiPolicyAllocator | ( | ) |
Definition at line 474 of file Allocator.cc.
| pdb::MultiPolicyAllocator< FirstPolicy, OtherPolicies >::MultiPolicyAllocator | ( | size_t | numBytes | ) |
Definition at line 505 of file Allocator.cc.
|
inline |
|
inline |
Definition at line 926 of file Allocator.cc.
|
inline |
Definition at line 543 of file Allocator.cc.
|
inline |
Definition at line 444 of file Allocator.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| unsigned pdb::MultiPolicyAllocator< FirstPolicy, OtherPolicies >::getNumObjectsInHomeAllocatorBlock | ( | Handle< ObjType > & | forMe | ) |
Definition at line 704 of file Allocator.cc.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 577 of file Allocator.cc.
|
inline |
|
inline |
Definition at line 888 of file Allocator.cc.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 814 of file Allocator.cc.
|
friend |
|
private |
Definition at line 416 of file Allocator.h.
|
private |
Definition at line 410 of file Allocator.h.
|
private |
Definition at line 412 of file Allocator.h.