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) |
void * | gtg_block_malloc (gtg_memory_t memory) |
void | gtg_block_free (gtg_memory_t memory, void *ptr) |
This file defines a fast allocator for fixed-size blocks.
typedef struct gtg_memory* gtg_memory_t |
void gtg_block_free | ( | gtg_memory_t | memory, |
void * | ptr | ||
) |
void * gtg_block_malloc | ( | gtg_memory_t | memory | ) |
void gtg_block_memory_init | ( | gtg_memory_t * | memory, |
size_t | block_size, | ||
long | initial_block_number | ||
) |