MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BuddyMemory Class Reference
Collaboration diagram for BuddyMemory:

Public Member Functions

bool memoryAvailable ()
bool allocate (int nChunksToAllocate)
void removeFromFreeSegmentList (int sz, int index)
void release (int releaseId, int size)
void addToFreeSegmentList (int sz, int index)
bool getSegment (Uint32 size, Segment *dst)
void refreshTime (Uint32 time)
Uint32 logTwoPlus (Uint32 arg)

Public Attributes

Uint32 currentTime
Uint32 freeSegment [sz_MAX]
Uint32 * startOfMemoryBlock
Uint32 totalNoOfChunks
struct Chunk256chunk

Detailed Description

Definition at line 58 of file buddy.hpp.


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