dlvhex  2.5.0
bm::bv_statistics Struct Reference

Structure with statistical information about bitset's memory allocation details. More...

#include <vs10/bm/bmfunc.h>

Inheritance diagram for bm::bv_statistics:

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.

Detailed Description

Structure with statistical information about bitset's memory allocation details.

Definition at line 59 of file bmfunc.h.


Member Function Documentation

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()().

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()().


Field Documentation

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().

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().

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().


The documentation for this struct was generated from the following files: