ARB
Classes | Macros | Functions
PT_debug.cxx File Reference
#include "probe.h"
#include "probe_tree.h"
#include "pt_prototypes.h"
#include <arb_misc.h>
#include <arb_file.h>
Include dependency graph for PT_debug.cxx:

Go to the source code of this file.

Classes

struct  PT_statistic
 
struct  PT_statistic::chain_head_mem
 
class  PT_dump_loc
 

Macros

#define DEBUG_MAX_CHAIN_SIZE   10000000
 
#define DEBUG_MAX_CHAIN_NAME_DIST   99999
 
#define DEBUG_TREE_DEPTH   (PT_POS_TREE_HEIGHT+1)
 

Functions

void PT_dump_tree_statistics (const char *indexfilename)
 
template<typename PT >
void dump_POS_TREE_special (PT *pt, const char *prefix, FILE *out)
 
template<>
void dump_POS_TREE_special (POS_TREE1 *pt, const char *prefix, FILE *out)
 
template<>
void dump_POS_TREE_special (POS_TREE2 *, const char *, FILE *)
 
template<typename PT >
void PT_dump_POS_TREE_recursive (PT *pt, const char *prefix, FILE *out)
 
void PT_dump_POS_TREE (POS_TREE1 *IF_DEBUG(node), FILE *IF_DEBUG(out))
 
static void PT_dump_POS_TREE_to_file (const char *dumpfile)
 
int PT_index_dump (const PT_main *main)
 

Macro Definition Documentation

#define DEBUG_MAX_CHAIN_SIZE   10000000

Definition at line 21 of file PT_debug.cxx.

Referenced by PT_statistic::analyse(), and PT_statistic::dump().

#define DEBUG_MAX_CHAIN_NAME_DIST   99999

Definition at line 22 of file PT_debug.cxx.

Referenced by PT_statistic::analyse(), and PT_statistic::dump().

#define DEBUG_TREE_DEPTH   (PT_POS_TREE_HEIGHT+1)

Definition at line 23 of file PT_debug.cxx.

Referenced by PT_statistic::analyse(), and PT_statistic::dump().

Function Documentation

void PT_dump_tree_statistics ( const char indexfilename)
template<typename PT >
void dump_POS_TREE_special ( PT *  pt,
const char prefix,
FILE *  out 
)
inline
template<>
void dump_POS_TREE_special ( POS_TREE1 pt,
const char prefix,
FILE *  out 
)
inline

Definition at line 358 of file PT_debug.cxx.

References POS_TREE1::get_type(), POS_TREE1::is_saved(), PT1_UNDEF, and pt_assert.

template<>
void dump_POS_TREE_special ( POS_TREE2 ,
const char ,
FILE *   
)
inline

Definition at line 367 of file PT_debug.cxx.

template<typename PT >
void PT_dump_POS_TREE_recursive ( PT *  pt,
const char prefix,
FILE *  out 
)
void PT_dump_POS_TREE ( POS_TREE1 IF_DEBUGnode,
FILE *  IF_DEBUGout 
)
static void PT_dump_POS_TREE_to_file ( const char dumpfile)
static
int PT_index_dump ( const PT_main *  main)

Definition at line 450 of file PT_debug.cxx.

References PT_dump_POS_TREE_to_file().