#include <btree.h>
Public Member Functions | |
tree_stats () | |
Zero initialized. | |
size_type | nodes () const |
Return the total number of nodes. | |
double | avgfill_leaves () const |
Return the average fill of leaves. | |
Public Attributes | |
size_type | itemcount |
Number of items in the B+ tree. | |
size_type | leaves |
Number of leaves in the B+ tree. | |
size_type | innernodes |
Number of inner nodes in the B+ tree. | |
Static Public Attributes | |
static const unsigned short | leafslots = btree_self::leafslotmax |
Base B+ tree parameter: The number of key/data slots in each leaf. | |
static const unsigned short | innerslots = btree_self::innerslotmax |
Base B+ tree parameter: The number of key slots in each inner node. |
It can be fetched using get_stats().
Definition at line 741 of file btree.h.
stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::tree_stats::tree_stats | ( | ) | [inline] |
size_type stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::tree_stats::nodes | ( | ) | const [inline] |
double stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::tree_stats::avgfill_leaves | ( | ) | const [inline] |
size_type stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::tree_stats::itemcount |
size_type stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::tree_stats::leaves |
size_type stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::tree_stats::innernodes |
const unsigned short stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::tree_stats::leafslots = btree_self::leafslotmax [static] |
const unsigned short stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::tree_stats::innerslots = btree_self::innerslotmax [static] |