|
CUBRID Engine
latest
|
The master Heap Layers include file. More...
#include <assert.h>#include "utility/all.h"#include "heaps/all.h"#include "locks/all.h"#include "threads/all.h"#include "wrappers/all.h"

Go to the source code of this file.
Namespaces | |
| HL | |
Macros | |
| #define | HL_EXECUTABLE_HEAP 1 |
| #define | NO_INLINE |
| #define | INLINE inline |
| #define | MALLOC_FUNCTION |
| #define | RESTRICT |
| #define | ALLOCATION_STATS 0 |
The master Heap Layers include file.
Heap Layers is an extensible memory allocator infrastructure. For more information, read the PLDI 2001 paper "Composing High-Performance Memory Allocators", by Emery D. Berger, Benjamin G. Zorn, and Kathryn S. McKinley. (http://citeseer.ist.psu.edu/berger01composing.html)
Definition in file heaplayers.h.
| #define ALLOCATION_STATS 0 |
Defining ALLOCATION_STATS below as 1 enables tracking of allocation statistics in a variety of layers. You then must link in definitions of the extern variables used therein; stats.cpp contains these definitions.
This should be undefined for all but experimental use.
Definition at line 86 of file heaplayers.h.
| #define HL_EXECUTABLE_HEAP 1 |
Definition at line 39 of file heaplayers.h.
| #define INLINE inline |
Definition at line 66 of file heaplayers.h.
| #define MALLOC_FUNCTION |
Definition at line 67 of file heaplayers.h.
| #define NO_INLINE |
Definition at line 65 of file heaplayers.h.
Referenced by HL::SpinLockType::unlock().
| #define RESTRICT |
Definition at line 68 of file heaplayers.h.