Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

Full_Profile Class Reference

#include <full_profile.h>

List of all members.

Public Member Functions

 Full_Profile ()
 ~Full_Profile ()
void doit (legoModule *module_ptr, int option=0)
void lego_write (legoModule *module_ptr, char *input_filename)
 Full_Profile ()
 ~Full_Profile ()
void doit (legoModule *module_ptr, int option=0)
void lego_write (legoModule *module_ptr, char *input_filename)

Private Member Functions

void instrument (legoProc *proc_ptr)
void open_main_file (int max_entry)
void open_header_file ()
void close_main_file ()
void close_header_file ()
void insert_probe (legoProc *proc_ptr, legoRegion *region_ptr)
void instrument (legoProc *proc_ptr)
void open_main_file (int max_entry)
void open_header_file ()
void close_main_file ()
void close_header_file ()
void insert_probe (legoProc *proc_ptr, legoRegion *region_ptr)

Private Attributes

Instrument _my_instrument
FILE * _main_fp
FILE * _header_fp
Node_Table_bbid_table
Node_Table_ld_st_table
FILE * _main_fp
FILE * _header_fp
Node_Table_bbid_table
Node_Table_ld_st_table


Constructor & Destructor Documentation

Full_Profile::Full_Profile  )  [inline]
 

Definition at line 40 of file include/full_profile.h.

References _bbid_table, _header_fp, _ld_st_table, and _main_fp.

Full_Profile::~Full_Profile  )  [inline]
 

Definition at line 44 of file include/full_profile.h.

Full_Profile::Full_Profile  )  [inline]
 

Definition at line 40 of file src/full_profile.h.

References _bbid_table, _header_fp, _ld_st_table, and _main_fp.

Full_Profile::~Full_Profile  )  [inline]
 

Definition at line 44 of file src/full_profile.h.


Member Function Documentation

void Full_Profile::close_header_file  )  [private]
 

void Full_Profile::close_header_file  )  [private]
 

Definition at line 452 of file full_profile.cpp.

References _header_fp, and fclose().

Referenced by doit().

void Full_Profile::close_main_file  )  [private]
 

void Full_Profile::close_main_file  )  [private]
 

Definition at line 457 of file full_profile.cpp.

References _main_fp, and fclose().

Referenced by doit().

void Full_Profile::doit legoModule module_ptr,
int  option = 0
 

void Full_Profile::doit legoModule module_ptr,
int  option = 0
 

Definition at line 58 of file full_profile.cpp.

References _bbid_table, _ld_st_table, _my_instrument, Node_Table::build_from_proc(), Node_Table::build_ld_st_from_proc(), check_max_op_id(), close_header_file(), close_main_file(), fclose(), legoPSet< void * >::GetCount(), legoPSet< void * >::GetItem(), legoProc::GetProcName(), legoRegion::GetRegionType(), i, Predicate::init_true_predicate_oprd(), Instrument::initialize_parameters(), Instrument::initialize_temp_registers(), instrument(), Node_Table::node_table_fp(), Node_Table::open_file(), Node_Table::open_file_with_value(), open_header_file(), open_main_file(), Node_Table::print(), Node_Table::print_with_value(), Instrument::rename_main(), RT_PROC, Node_Table::set_node_table_fp(), Node_Table::set_start_index(), Node_Table::start_index(), and strcmp().

void Full_Profile::insert_probe legoProc proc_ptr,
legoRegion region_ptr
[private]
 

void Full_Profile::insert_probe legoProc proc_ptr,
legoRegion region_ptr
[private]
 

Definition at line 213 of file full_profile.cpp.

References _bbid_table, _ld_st_table, _my_instrument, Instrument::append_brl_code(), Instrument::append_pbrr_code(), Instrument::append_restore_1_param_code(), Instrument::append_restore_2_params_code(), Instrument::append_save_and_set_1_param_code(), Instrument::append_save_and_set_2_params_code(), Node_Table::find(), Node_Table::find_by_node_id(), fprintf(), FULL_PROFILE_BBID_PROBE_NAME, FULL_PROFILE_LD_ST_PROBE_NAME, legoPSet< void * >::GetCount(), legoRegion::GetEntryOpsPtr(), legoPSet< void * >::GetItem(), legoOp::GetNextLink(), legoOprd::GetNextOprdPtr(), legoOp::GetOpcode(), legoOp::GetOpId(), opList::GetOpPtr(), legoRegion::GetRegionId(), legoRegion::GetRegionType(), legoOp::GetSrcOprdPtr(), i, is_load(), is_memory(), is_store(), regionTypes, RT_BB, RT_HB, RT_LOOP, RT_LOOPBODY, RT_PROC, RT_SB, RT_TRACE, RT_TREE, legoOprd::SetNextOprdPtr(), and Predicate::true_predicate_oprd().

Referenced by instrument().

void Full_Profile::instrument legoProc proc_ptr  )  [private]
 

void Full_Profile::instrument legoProc proc_ptr  )  [private]
 

Definition at line 203 of file full_profile.cpp.

References insert_probe().

Referenced by doit().

void Full_Profile::lego_write legoModule module_ptr,
char *  input_filename
 

void Full_Profile::lego_write legoModule module_ptr,
char *  input_filename
 

Definition at line 463 of file full_profile.cpp.

References i, input_filename, LegoWrite(), strcpy(), and strlen().

void Full_Profile::open_header_file  )  [private]
 

void Full_Profile::open_header_file  )  [private]
 

Definition at line 440 of file full_profile.cpp.

References _header_fp, fopen(), fprintf(), FULL_HEADER_FILENAME, FULL_PROFILE_BBID_PROBE_NAME2, and FULL_PROFILE_LD_ST_PROBE_NAME2.

Referenced by doit().

void Full_Profile::open_main_file int  max_entry  )  [private]
 

void Full_Profile::open_main_file int  max_entry  )  [private]
 

Definition at line 333 of file full_profile.cpp.

References _main_fp, exit(), fclose(), fopen(), fprintf(), FULL_MAIN_FILENAME, FULL_PROFILE_BBID_PROBE_NAME, FULL_PROFILE_BBID_PROBE_NAME2, FULL_PROFILE_LD_ST_PROBE_NAME, and FULL_PROFILE_LD_ST_PROBE_NAME2.

Referenced by doit().


Member Data Documentation

Node_Table* Full_Profile::_bbid_table [private]
 

Definition at line 69 of file src/full_profile.h.

Node_Table* Full_Profile::_bbid_table [private]
 

Definition at line 69 of file include/full_profile.h.

Referenced by doit(), Full_Profile(), and insert_probe().

FILE* Full_Profile::_header_fp [private]
 

Definition at line 64 of file src/full_profile.h.

FILE* Full_Profile::_header_fp [private]
 

Definition at line 64 of file include/full_profile.h.

Referenced by close_header_file(), Full_Profile(), and open_header_file().

Node_Table* Full_Profile::_ld_st_table [private]
 

Definition at line 70 of file src/full_profile.h.

Node_Table* Full_Profile::_ld_st_table [private]
 

Definition at line 70 of file include/full_profile.h.

Referenced by doit(), Full_Profile(), and insert_probe().

FILE* Full_Profile::_main_fp [private]
 

Definition at line 63 of file src/full_profile.h.

FILE* Full_Profile::_main_fp [private]
 

Definition at line 63 of file include/full_profile.h.

Referenced by close_main_file(), Full_Profile(), and open_main_file().

Instrument Full_Profile::_my_instrument [private]
 

Definition at line 61 of file src/full_profile.h.

Referenced by doit(), and insert_probe().


The documentation for this class was generated from the following files:
Generated on Mon Jul 21 20:31:00 2003 for TINKER LEGO DOC by doxygen 1.3.2