The world's most popular open source database
#include <ndb_global.h>Include dependency graph for buddy.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | BuddyMemory |
| struct | Segment |
| struct | Chunk256 |
Typedefs | |
| typedef unsigned int | Uint32 |
| typedef unsigned short | Uint16 |
| typedef unsigned long long | Uint64 |
Enumerations | |
| enum | FreeSegmentSize { sz_256 = 0, sz_512 = 1, sz_1024 = 2, sz_2048 = 3, sz_4096 = 4, sz_8192 = 5, sz_16384 = 6, sz_32768 = 7, sz_65536 = 8, sz_131072 = 9, sz_GET_MAX = 5, sz_MAX = 9 } |
Variables | |
| const int | UNDEFINED_CHUNK = -2 |
| const int | END_OF_CHUNK_LIST = -1 |
| const int | ALLOCATION_TIMEOUT = 10000 |
| enum FreeSegmentSize |
| sz_256 | |
| sz_512 | |
| sz_1024 | |
| sz_2048 | |
| sz_4096 | |
| sz_8192 | |
| sz_16384 | |
| sz_32768 | |
| sz_65536 | |
| sz_131072 | |
| sz_GET_MAX | |
| sz_MAX |
Definition at line 39 of file buddy.hpp.
00039 { 00040 sz_256 = 0, 00041 sz_512 = 1, 00042 sz_1024 = 2, 00043 sz_2048 = 3, 00044 sz_4096 = 4, 00045 sz_8192 = 5, 00046 sz_16384 = 6, 00047 sz_32768 = 7, 00048 sz_65536 = 8, 00049 sz_131072 = 9, 00050 sz_GET_MAX = 5, 00051 sz_MAX = 9 00052 };
| const int ALLOCATION_TIMEOUT = 10000 |
| const int END_OF_CHUNK_LIST = -1 |
Definition at line 30 of file buddy.hpp.
Referenced by BuddyMemory::addToFreeSegmentList(), BuddyMemory::allocate(), and BuddyMemory::removeFromFreeSegmentList().
| const int UNDEFINED_CHUNK = -2 |
Definition at line 27 of file buddy.hpp.
Referenced by BuddyMemory::addToFreeSegmentList(), BuddyMemory::allocate(), BuddyMemory::getSegment(), BuddyMemory::memoryAvailable(), BuddyMemory::release(), and BuddyMemory::removeFromFreeSegmentList().
1.4.7

