BitMagic-C++
|
Structure with statistical information about memory allocation for arena based vectors. More...
#include <bmfunc.h>
Public Member Functions | |
void | reset () BMNOEXCEPT |
Reset statisctics. More... | |
size_t | get_alloc_size () const BMNOEXCEPT |
Get allocation size in bytes. More... | |
Data Fields | |
size_t | bit_blocks_sz |
Total size of bit blocks. More... | |
size_t | gap_blocks_sz |
Total size of gap blocks. More... | |
size_t | ptr_sub_blocks_sz |
Total size of sub-blocks ptrs. More... | |
unsigned | top_block_size |
size of top descriptor More... | |
Structure with statistical information about memory allocation for arena based vectors.
|
inline |
Get allocation size in bytes.
Definition at line 132 of file bmfunc.h.
References bit_blocks_sz, gap_blocks_sz, ptr_sub_blocks_sz, and top_block_size.
|
inline |
Reset statisctics.
Definition at line 126 of file bmfunc.h.
References bit_blocks_sz, gap_blocks_sz, ptr_sub_blocks_sz, and top_block_size.
size_t bm::bv_arena_statistics::bit_blocks_sz |
Total size of bit blocks.
Definition at line 120 of file bmfunc.h.
Referenced by get_alloc_size(), and reset().
size_t bm::bv_arena_statistics::gap_blocks_sz |
Total size of gap blocks.
Definition at line 121 of file bmfunc.h.
Referenced by get_alloc_size(), and reset().
size_t bm::bv_arena_statistics::ptr_sub_blocks_sz |
Total size of sub-blocks ptrs.
Definition at line 122 of file bmfunc.h.
Referenced by get_alloc_size(), and reset().
unsigned bm::bv_arena_statistics::top_block_size |
size of top descriptor
Definition at line 123 of file bmfunc.h.
Referenced by get_alloc_size(), and reset().