Thrill
0.1
|
A small struct containing basic statistics about the B+ tree.
It can be fetched using get_stats().
#include <btree.hpp>
Public Member Functions | |
tree_stats () | |
Zero initialized. More... | |
double | avgfill_leaves () const |
Return the average fill of leaves. More... | |
size_type | nodes () const |
Return the total number of nodes. More... | |
Public Attributes | |
size_type | inner_nodes |
Number of inner nodes in the B+ tree. More... | |
size_type | leaves |
Number of leaves in the B+ tree. More... | |
size_type | size |
Number of items in the B+ tree. More... | |
Static Public Attributes | |
static const unsigned short | inner_slots = Self::inner_slotmax |
Base B+ tree parameter: The number of key slots in each inner node. More... | |
static const unsigned short | leaf_slots = Self::leaf_slotmax |
Base B+ tree parameter: The number of key/data slots in each leaf. More... | |
|
inline |
|
inline |
|
inline |
size_type inner_nodes |
|
static |
|
static |