Structure with statistical information about bitset's memory allocation details. More...
#include <bmfunc.h>
Public Member Functions | |
void | add_bit_block () |
cound bit block | |
void | add_gap_block (unsigned capacity, unsigned length) |
count gap block | |
Data Fields | |
unsigned | bit_blocks |
Number of bit blocks. | |
unsigned | gap_blocks |
Number of GAP blocks. | |
unsigned | max_serialize_mem |
Estimated maximum of memory required for serialization. | |
unsigned | memory_used |
Memory used by bitvector including temp and service blocks. | |
gap_word_t | gap_length [bm::set_total_blocks] |
Array of all GAP block lengths in the bvector. | |
gap_word_t | gap_levels [bm::gap_levels] |
GAP lengths used by bvector. |
Structure with statistical information about bitset's memory allocation details.
Definition at line 48 of file bmfunc.h.
void bm::bv_statistics::add_bit_block | ( | ) | [inline] |
cound bit block
Definition at line 66 of file bmfunc.h.
References bit_blocks, max_serialize_mem, memory_used, and bm::set_block_size.
void bm::bv_statistics::add_gap_block | ( | unsigned | capacity, | |
unsigned | length | |||
) | [inline] |
count gap block
Definition at line 75 of file bmfunc.h.
References gap_blocks, max_serialize_mem, and memory_used.
unsigned bm::bv_statistics::bit_blocks |
Number of bit blocks.
Definition at line 51 of file bmfunc.h.
Referenced by add_bit_block(), bm::bvector< Alloc >::calc_stat(), bm::bvector< Alloc >::optimize(), print_statistics(), and serialize_bvector().
unsigned bm::bv_statistics::gap_blocks |
Number of GAP blocks.
Definition at line 53 of file bmfunc.h.
Referenced by add_gap_block(), bm::bvector< Alloc >::calc_stat(), bm::bvector< Alloc >::optimize(), print_statistics(), and serialize_bvector().
Array of all GAP block lengths in the bvector.
Definition at line 59 of file bmfunc.h.
Referenced by bm::bvector< Alloc >::calc_stat().
GAP lengths used by bvector.
Definition at line 61 of file bmfunc.h.
Referenced by bm::bvector< Alloc >::calc_stat(), and bm::bvector< Alloc >::optimize().
unsigned bm::bv_statistics::max_serialize_mem |
Estimated maximum of memory required for serialization.
Definition at line 55 of file bmfunc.h.
Referenced by add_bit_block(), add_gap_block(), bm::bvector< Alloc >::calc_stat(), bm::bvector< Alloc >::optimize(), print_statistics(), and serialize_bvector().
unsigned bm::bv_statistics::memory_used |
Memory used by bitvector including temp and service blocks.
Definition at line 57 of file bmfunc.h.
Referenced by add_bit_block(), add_gap_block(), bm::bvector< Alloc >::calc_stat(), bm::bvector< Alloc >::optimize(), print_statistics(), and serialize_bvector().