dlvhex
2.5.0
|
Structure with statistical information about bitset's memory allocation details. More...
#include <vs10/bm/bmfunc.h>
Public Member Functions | |
void | add_bit_block () |
cound bit block | |
void | add_gap_block (unsigned capacity, unsigned length) |
count gap block | |
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.
void bm::bv_statistics::add_bit_block | ( | ) | [inline] |
cound bit block
Definition at line 77 of file bmfunc.h.
References bit_blocks, max_serialize_mem, memory_used, and bm::set_block_size.
Referenced by bm::blocks_manager< Alloc >::block_opt_func::operator()().
void bm::bv_statistics::add_bit_block | ( | ) | [inline] |
cound bit block
Definition at line 77 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 86 of file bmfunc.h.
References gap_blocks, max_serialize_mem, and memory_used.
void bm::bv_statistics::add_gap_block | ( | unsigned | capacity, |
unsigned | length | ||
) | [inline] |
count gap block
Definition at line 86 of file bmfunc.h.
References gap_blocks, max_serialize_mem, and memory_used.
Referenced by bm::blocks_manager< Alloc >::block_opt_func::operator()().
unsigned bm::bv_statistics::bit_blocks |
Number of bit blocks.
Definition at line 62 of file bmfunc.h.
Referenced by add_bit_block(), bm::bvector< Alloc >::calc_stat(), and bm::bvector< Alloc >::optimize().
unsigned bm::bv_statistics::gap_blocks |
Number of GAP blocks.
Definition at line 64 of file bmfunc.h.
Referenced by add_gap_block(), bm::bvector< Alloc >::calc_stat(), and bm::bvector< Alloc >::optimize().
Array of all GAP block lengths in the bvector.
Definition at line 70 of file bmfunc.h.
Referenced by bm::bvector< Alloc >::calc_stat().
GAP lengths used by bvector.
Definition at line 72 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 66 of file bmfunc.h.
Referenced by add_bit_block(), add_gap_block(), bm::bvector< Alloc >::calc_stat(), bm::blocks_manager< Alloc >::block_opt_func::on_empty_top(), bm::blocks_manager< Alloc >::block_opt_func::operator()(), and bm::bvector< Alloc >::optimize().
unsigned bm::bv_statistics::memory_used |
Memory used by bitvector including temp and service blocks.
Definition at line 68 of file bmfunc.h.
Referenced by add_bit_block(), add_gap_block(), bm::bvector< Alloc >::calc_stat(), and bm::bvector< Alloc >::optimize().