bm::bv_statistics Struct Reference
[The Main bvector<> Group]

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

#include <bmfunc.h>

Inheritance diagram for bm::bv_statistics:
Inheritance graph
[legend]

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.

Detailed Description

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

Definition at line 48 of file bmfunc.h.


Member Function Documentation

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.


Field Documentation

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

Estimated maximum of memory required for serialization.

Examples:
sample3.cpp, and sample4.cpp.

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

Memory used by bitvector including temp and service blocks.

Examples:
sample3.cpp, and sample4.cpp.

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


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

Generated on Sun Apr 25 09:37:45 2010 for BitMagic by  doxygen 1.6.1