Public メソッド | |
| sc_allocator (int blksz, int cellsz) | |
| ~sc_allocator () | |
| void * | allocate () |
| void | release (void *p) |
| void | display_statistics () |
Private 変数 | |
| int | block_size |
| int | cell_size |
| char * | block_list |
| link * | free_list |
| char * | next_avail |
| int | total_alloc |
| int | total_freed |
| int | free_list_alloc |
フレンド | |
| class | sc_mempool |
構成 | |
| union | link |
| sc_core::sc_allocator::sc_allocator | ( | int | blksz, | |
| int | cellsz | |||
| ) |
| sc_core::sc_allocator::~sc_allocator | ( | ) |
| void * sc_core::sc_allocator::allocate | ( | ) |
| void sc_core::sc_allocator::release | ( | void * | p | ) |
| void sc_core::sc_allocator::display_statistics | ( | ) |
friend class sc_mempool [friend] |
int sc_core::sc_allocator::block_size [private] |
int sc_core::sc_allocator::cell_size [private] |
char* sc_core::sc_allocator::block_list [private] |
link* sc_core::sc_allocator::free_list [private] |
char* sc_core::sc_allocator::next_avail [private] |
int sc_core::sc_allocator::total_alloc [private] |
int sc_core::sc_allocator::total_freed [private] |
int sc_core::sc_allocator::free_list_alloc [private] |
1.5.6