GCC Middle and Back End API Reference
|
Go to the source code of this file.
Data Structures | |
struct | alloc_pool_list_def |
struct | alloc_pool_def |
Typedefs | |
typedef unsigned long | ALLOC_POOL_ID_TYPE |
typedef struct alloc_pool_list_def * | alloc_pool_list |
typedef struct alloc_pool_def * | alloc_pool |
Functions | |
alloc_pool | create_alloc_pool (const char *, size_t, size_t) |
void | free_alloc_pool (alloc_pool) |
void | empty_alloc_pool (alloc_pool) |
void | free_alloc_pool_if_empty (alloc_pool *) |
void * | pool_alloc (alloc_pool) ATTRIBUTE_MALLOC |
void | pool_free (alloc_pool, void *) |
void | dump_alloc_pool_statistics (void) |
typedef struct alloc_pool_def * alloc_pool |
typedef unsigned long ALLOC_POOL_ID_TYPE |
typedef struct alloc_pool_list_def * alloc_pool_list |
alloc_pool create_alloc_pool | ( | const char * | , |
size_t | , | ||
size_t | |||
) |
void dump_alloc_pool_statistics | ( | void | ) |
Output per-alloc_pool memory usage statistics.
References hash_table< Descriptor, Allocator >::is_created(), print_alloc_pool_statistics(), output_info::total_allocated, output_info::total_created, and hash_table< Descriptor, Allocator >::traverse().
Referenced by dump_memory_report().
void empty_alloc_pool | ( | alloc_pool | ) |
void free_alloc_pool | ( | alloc_pool | ) |
void free_alloc_pool_if_empty | ( | alloc_pool * | ) |
void* pool_alloc | ( | alloc_pool | ) |
void pool_free | ( | alloc_pool | , |
void * | |||
) |