|
Generic Trace Generator (GTG)
0.1
|
This file defines a fast allocator for fixed-size blocks. More...
#include <stdlib.h>Go to the source code of this file.
Data Structures | |
| struct | gtg_memory |
Typedefs | |
| typedef struct gtg_memory * | gtg_memory_t |
Functions | |
| void | gtg_block_memory_init (gtg_memory_t *memory, size_t block_size, long initial_block_number) |
| Initialize the allocator. | |
| void * | gtg_block_malloc (gtg_memory_t memory) |
| Allocate a block of data. | |
| void | gtg_block_free (gtg_memory_t memory, void *ptr) |
| Free a block of data. | |
This file defines a fast allocator for fixed-size blocks.
| typedef struct gtg_memory* gtg_memory_t |
1.7.6.1