tlx

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

inline 

inline 

inline 
size_type inner_nodes 

static 

static 