Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

debugutil.h File Reference

Go to the source code of this file.

Functions

void examine_memory_pool (memory_pool *p)
void * get_item_in_pool_block (memory_pool *p, long item, long block, bool pfr)
void print_wme_in_pool (long w, long b)
void print_all_wmes_in_block (long b, bool pfree)
void print_conditions_in_pool (long w, long b, bool pfree)
void print_all_conditions_in_block (long b, bool pfree)
void print_all_identifiers_in_block (long b, bool pfree)
void print_all_productions_in_block (long b, bool full, bool pfree)
int check_for_addr_in_free_list (memory_pool *p, void *addr)
void print_all_preferences_in_block (long b, bool p_free)
void print_all_instantiations_in_block (long b, wme_trace_type wtt, bool p_free)


Function Documentation

int check_for_addr_in_free_list memory_pool p,
void *  addr
 

Definition at line 179 of file debugutil.c.

References memory_pool_struct::free_list, and memory_pool.

Referenced by get_item_in_pool_block().

void examine_memory_pool memory_pool p  ) 
 

Definition at line 7 of file debugutil.c.

References memory_pool_struct::first_block, memory_pool_struct::free_list, memory_pool_struct::free_list_length, memory_pool_struct::item_size, memory_pool_struct::items_per_block, memory_pool, memory_pool_struct::name, memory_pool_struct::num_blocks, memory_pool_struct::pool_size, print(), and memory_pool_struct::used_count.

Referenced by soar_Pool().

void* get_item_in_pool_block memory_pool p,
long  item,
long  block,
bool  pfr
 

Definition at line 34 of file debugutil.c.

References check_for_addr_in_free_list(), memory_pool_struct::first_block, memory_pool_struct::item_size, memory_pool_struct::items_per_block, memory_pool, and print().

Referenced by print_all_conditions_in_block(), print_all_identifiers_in_block(), print_all_instantiations_in_block(), print_all_preferences_in_block(), print_all_productions_in_block(), and print_all_wmes_in_block().

void print_all_conditions_in_block long  b,
bool  pfree
 

Definition at line 134 of file debugutil.c.

References condition, get_item_in_pool_block(), print_condition(), and print_item_info_header().

Referenced by soar_Pool().

void print_all_identifiers_in_block long  b,
bool  pfree
 

Definition at line 100 of file debugutil.c.

References get_item_in_pool_block(), print(), print_item_info_header(), Symbol, and symbol_to_string().

Referenced by soar_Pool().

void print_all_instantiations_in_block long  b,
wme_trace_type  wtt,
bool  p_free
 

Definition at line 165 of file debugutil.c.

References get_item_in_pool_block(), instantiation, print_instantiation_with_wmes(), print_item_info_header(), and wme_trace_type.

Referenced by soar_Pool().

void print_all_preferences_in_block long  b,
bool  p_free
 

Definition at line 149 of file debugutil.c.

References detailed_print_preference(), get_item_in_pool_block(), preference, and print_item_info_header().

Referenced by soar_Pool().

void print_all_productions_in_block long  b,
bool  full,
bool  pfree
 

Definition at line 80 of file debugutil.c.

References get_item_in_pool_block(), production_struct::name, print_item_info_header(), print_production(), print_with_symbols(), and production.

Referenced by soar_Pool().

void print_all_wmes_in_block long  b,
bool  pfree
 

Definition at line 119 of file debugutil.c.

References detailed_print_wme(), get_item_in_pool_block(), print_item_info_header(), and wme.

Referenced by soar_Pool().

void print_conditions_in_pool long  w,
long  b,
bool  pfree
 

void print_wme_in_pool long  w,
long  b
 


Generated on Thu Dec 11 13:00:26 2003 for Soar Kernel by doxygen 1.3.5