ARB
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
PT_statistic Struct Reference
Collaboration diagram for PT_statistic:
Collaboration graph
[legend]

Classes

struct  chain_head_mem
 

Public Member Functions

 PT_statistic ()
 
void analyse (POS_TREE2 *pt, int height)
 
void printCountAndMem (size_t count, size_t mem)
 
void printCountPercentAndMem (size_t count, size_t all, size_t mem, size_t allmem)
 
void LF ()
 
void dump (size_t indexsize)
 

Static Public Member Functions

static bool show_for_index (int i, int imax)
 

Public Attributes

size_t nodes [DEBUG_TREE_DEPTH]
 
size_t nodes_mem [DEBUG_TREE_DEPTH]
 
size_t splits [DEBUG_TREE_DEPTH][PT_BASES]
 
size_t tips [DEBUG_TREE_DEPTH]
 
size_t tips_mem [DEBUG_TREE_DEPTH]
 
size_t chains_at_depth [DEBUG_TREE_DEPTH]
 
size_t chains_at_depth_mem [DEBUG_TREE_DEPTH]
 
size_t chains_of_size [DEBUG_MAX_CHAIN_SIZE+1]
 
size_t chains_of_size_mem [DEBUG_MAX_CHAIN_SIZE+1]
 
size_t chaincount
 
size_t chain_name_dist [DEBUG_MAX_CHAIN_NAME_DIST+1]
 
struct PT_statistic::chain_head_mem chm
 

Detailed Description

Definition at line 25 of file PT_debug.cxx.

Constructor & Destructor Documentation

PT_statistic::PT_statistic ( )
inline

Definition at line 67 of file PT_debug.cxx.

Member Function Documentation

static bool PT_statistic::show_for_index ( int  i,
int  imax 
)
inlinestatic

Definition at line 26 of file PT_debug.cxx.

References pt_assert.

Referenced by dump().

void PT_statistic::analyse ( POS_TREE2 pt,
int  height 
)
inline
void PT_statistic::printCountAndMem ( size_t  count,
size_t  mem 
)
inline

Definition at line 135 of file PT_debug.cxx.

References GBS_readable_size().

Referenced by dump().

void PT_statistic::printCountPercentAndMem ( size_t  count,
size_t  all,
size_t  mem,
size_t  allmem 
)
inline

Definition at line 138 of file PT_debug.cxx.

References GBS_readable_size().

Referenced by dump().

void PT_statistic::LF ( )
inline

Definition at line 145 of file PT_debug.cxx.

Referenced by dump().

void PT_statistic::dump ( size_t  indexsize)
inline

Member Data Documentation

size_t PT_statistic::nodes[DEBUG_TREE_DEPTH]

Definition at line 41 of file PT_debug.cxx.

size_t PT_statistic::nodes_mem[DEBUG_TREE_DEPTH]

Definition at line 42 of file PT_debug.cxx.

size_t PT_statistic::splits[DEBUG_TREE_DEPTH][PT_BASES]

Definition at line 44 of file PT_debug.cxx.

size_t PT_statistic::tips[DEBUG_TREE_DEPTH]

Definition at line 47 of file PT_debug.cxx.

size_t PT_statistic::tips_mem[DEBUG_TREE_DEPTH]

Definition at line 48 of file PT_debug.cxx.

size_t PT_statistic::chains_at_depth[DEBUG_TREE_DEPTH]

Definition at line 51 of file PT_debug.cxx.

size_t PT_statistic::chains_at_depth_mem[DEBUG_TREE_DEPTH]

Definition at line 52 of file PT_debug.cxx.

size_t PT_statistic::chains_of_size[DEBUG_MAX_CHAIN_SIZE+1]

Definition at line 54 of file PT_debug.cxx.

size_t PT_statistic::chains_of_size_mem[DEBUG_MAX_CHAIN_SIZE+1]

Definition at line 55 of file PT_debug.cxx.

size_t PT_statistic::chaincount

Definition at line 57 of file PT_debug.cxx.

size_t PT_statistic::chain_name_dist[DEBUG_MAX_CHAIN_NAME_DIST+1]

Definition at line 59 of file PT_debug.cxx.

struct PT_statistic::chain_head_mem PT_statistic::chm

Referenced by analyse(), and dump().


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