|
ARB
|
#include "probe.h"#include "probe_tree.h"#include "pt_prototypes.h"#include <arb_misc.h>#include <arb_file.h>
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) |
| #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().
| void PT_dump_tree_statistics | ( | const char * | indexfilename | ) |
Definition at line 326 of file PT_debug.cxx.
References PT_statistic::analyse(), PT_statistic::dump(), GB_size_of_file(), psg, and probe_struct_global::TREE_ROOT2().
Referenced by run_command().
|
inline |
Referenced by PT_dump_POS_TREE_recursive().
Definition at line 358 of file PT_debug.cxx.
References POS_TREE1::get_type(), POS_TREE1::is_saved(), PT1_UNDEF, and pt_assert.
Definition at line 367 of file PT_debug.cxx.
| void PT_dump_POS_TREE_recursive | ( | PT * | pt, |
| const char * | prefix, | ||
| FILE * | out | ||
| ) |
Definition at line 369 of file PT_debug.cxx.
References base_2_readable(), dump_POS_TREE_special(), GBS_global_string_copy(), PT_BASES, PT_dump_POS_TREE_recursive(), PT_forwhole_chain(), and PT_QU.
Referenced by check_tree_was_saved(), PT_dump_POS_TREE_recursive(), and PT_dump_POS_TREE_to_file().
| void PT_dump_POS_TREE | ( | POS_TREE1 * | IF_DEBUGnode, |
| FILE * | IF_DEBUGout | ||
| ) |
Definition at line 399 of file PT_debug.cxx.
References fflush_all(), fputs(), AbsLoc::get_abs_pos(), AbsLoc::get_name(), DataLoc::get_rel_pos(), PT1_CHAIN, PT1_LEAF, PT1_NODE, PT1_SAVED, PT1_UNDEF, PT_BASES, PT_forwhole_chain(), and PT_read_son().
|
static |
Definition at line 433 of file PT_debug.cxx.
References GB_IO_error(), GBK_terminate(), probe_struct_global::get_stage(), psg, PT_dump_POS_TREE_recursive(), STAGE1, probe_struct_global::TREE_ROOT1(), and probe_struct_global::TREE_ROOT2().
Referenced by PT_index_dump().
| int PT_index_dump | ( | const PT_main * | main | ) |
Definition at line 450 of file PT_debug.cxx.
References PT_dump_POS_TREE_to_file().
1.8.8