|
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. | |
| size_t | get_alloc_size () const BMNOEXCEPT |
| Get allocation size in bytes. | |
Data Fields | |
| size_t | bit_blocks_sz |
| Total size of bit blocks. | |
| size_t | gap_blocks_sz |
| Total size of gap blocks. | |
| size_t | ptr_sub_blocks_sz |
| Total size of sub-blocks ptrs. | |
| unsigned | top_block_size |
| size of top descriptor | |
Structure with statistical information about memory allocation for arena based vectors.
|
inline |
Get allocation size in bytes.
Definition at line 134 of file bmfunc.h.
References bm::gap_len_table_min< T >::_len, bit_blocks_sz, BMNOEXCEPT, gap_blocks_sz, ptr_sub_blocks_sz, and top_block_size.
|
inline |
Reset statisctics.
Definition at line 128 of file bmfunc.h.
References bit_blocks_sz, BMNOEXCEPT, 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 122 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 123 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 124 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 125 of file bmfunc.h.
Referenced by get_alloc_size(), and reset().