#include <edge_table.h>
Public Member Functions | |
| Edge_Table () | |
| ~Edge_Table () | |
| void | set_root (Edge *e) |
| void | set_index (int i) |
| void | set_size (int i) |
| void | set_proc_name (char *i) |
| void | set_table_fp (FILE *fp) |
| void | set_start_index (int i) |
| Edge * | root () |
| int | index () |
| int | size () |
| char * | proc_name () |
| int | start_index () |
| char * | table_filename () |
| FILE * | table_fp () |
| void | build (CFG *cfg) |
| void | update (MST *mst) |
| void | profile_all_edges () |
| Edge * | find_edge (int edge_id) |
| void | print () |
| void | open_file () |
| void | write_file () |
| void | open_new_or_old_file (char *filename) |
| void | print_to_file (FILE *ifp) |
| Edge_Table () | |
| ~Edge_Table () | |
| void | set_root (Edge *e) |
| void | set_index (int i) |
| void | set_size (int i) |
| void | set_proc_name (char *i) |
| void | set_table_fp (FILE *fp) |
| void | set_start_index (int i) |
| Edge * | root () |
| int | index () |
| int | size () |
| char * | proc_name () |
| int | start_index () |
| char * | table_filename () |
| FILE * | table_fp () |
| void | build (CFG *cfg) |
| void | update (MST *mst) |
| void | profile_all_edges () |
| Edge * | find_edge (int edge_id) |
| void | print () |
| void | open_file () |
| void | write_file () |
| void | open_new_or_old_file (char *filename) |
| void | print_to_file (FILE *ifp) |
Private Attributes | |
| Edge * | _root |
| int | _index |
| int | _size |
| char * | _proc_name |
| char * | _table_filename |
| FILE * | _table_fp |
| int | _start_index |
| Edge * | _root |
| char * | _proc_name |
| char * | _table_filename |
| FILE * | _table_fp |
|
|
Definition at line 32 of file include/edge_table.h. References _index, _proc_name, _root, _size, and _start_index. |
|
|
Definition at line 34 of file include/edge_table.h. References _proc_name, and _root. |
|
|
Definition at line 32 of file src/edge_table.h. References _index, _proc_name, _root, _size, and _start_index. |
|
|
Definition at line 34 of file src/edge_table.h. References _proc_name, and _root. |
|
|
|
|
|
Definition at line 36 of file edge_table.cpp. References _index, _proc_name, _root, _size, _table_filename, Node::direction(), CFG::edge_count(), Node::edge_id(), len, Node::next_node(), Node_List::next_node_list(), Node_List::node(), CFG::proc_name(), CFG::root(), set_proc_name(), strcpy(), strlen(), and Node::weight(). Referenced by BB_Edge_Profile::doit(). |
|
|
|
|
|
Definition at line 132 of file edge_table.cpp. References _root, _size, Edge::edge_id(), fprintf(), and i. Referenced by BB_Edge_Profile::instrument_exit_op(), and update(). |
|
|
Definition at line 52 of file src/edge_table.h. References _index. |
|
|
Definition at line 52 of file include/edge_table.h. References _index. |
|
|
|
|
|
Definition at line 160 of file edge_table.cpp. References _start_index, _table_filename, _table_fp, exit(), fopen(), and fprintf(). |
|
|
|
|
|
Definition at line 176 of file edge_table.cpp. References _start_index, _table_fp, fclose(), fopen(), fscanf(), i, proc_name(), size, and size(). Referenced by BB_Edge_Profile::doit(). |
|
|
|
|
|
Definition at line 78 of file edge_table.cpp. References _root, _size, Edge::counter_index(), Edge::edge_id(), fprintf(), i, proc_name(), Edge::profile(), size(), and Edge::weight(). |
|
|
|
|
|
Definition at line 218 of file edge_table.cpp. References _proc_name, _root, _size, Edge::counter_index(), Edge::edge_id(), fprintf(), i, Edge::profile(), and Edge::weight(). Referenced by BB_Edge_Profile::doit(). |
|
|
Definition at line 54 of file src/edge_table.h. References _proc_name. |
|
|
Definition at line 54 of file include/edge_table.h. References _proc_name. Referenced by open_new_or_old_file(), print(), and write_file(). |
|
|
|
|
|
Definition at line 109 of file edge_table.cpp. References _root, _size, _start_index, Edge::edge_id(), ExitToEntryEdgeId, i, LastToExitEdgeId, Edge::profile(), Edge::set_counter_index(), and Edge::set_profile(). Referenced by BB_Edge_Profile::doit(). |
|
|
Definition at line 51 of file src/edge_table.h. References _root. |
|
|
Definition at line 51 of file include/edge_table.h. References _root. |
|
|
Definition at line 41 of file src/edge_table.h. |
|
|
Definition at line 41 of file include/edge_table.h. |
|
|
Definition at line 43 of file src/edge_table.h. References _proc_name, i, strcpy(), and strlen(). |
|
|
Definition at line 43 of file include/edge_table.h. References _proc_name, i, strcpy(), and strlen(). Referenced by build(). |
|
|
Definition at line 40 of file src/edge_table.h. References _root. |
|
|
Definition at line 40 of file include/edge_table.h. References _root. |
|
|
Definition at line 42 of file src/edge_table.h. |
|
|
Definition at line 42 of file include/edge_table.h. |
|
|
Definition at line 49 of file src/edge_table.h. References _start_index, and i. |
|
|
Definition at line 49 of file include/edge_table.h. References _start_index, and i. Referenced by BB_Edge_Profile::doit(). |
|
|
Definition at line 48 of file src/edge_table.h. |
|
|
Definition at line 48 of file include/edge_table.h. Referenced by BB_Edge_Profile::doit(). |
|
|
Definition at line 53 of file src/edge_table.h. References _size. |
|
|
Definition at line 53 of file include/edge_table.h. References _size. Referenced by open_new_or_old_file(), print(), and write_file(). |
|
|
Definition at line 55 of file src/edge_table.h. References _start_index. |
|
|
Definition at line 55 of file include/edge_table.h. References _start_index. Referenced by BB_Edge_Profile::doit(). |
|
|
Definition at line 56 of file src/edge_table.h. References _table_filename. |
|
|
Definition at line 56 of file include/edge_table.h. References _table_filename. |
|
|
Definition at line 57 of file src/edge_table.h. References _table_fp. |
|
|
Definition at line 57 of file include/edge_table.h. References _table_fp. Referenced by BB_Edge_Profile::doit(). |
|
|
|
|
|
Definition at line 93 of file edge_table.cpp. References _root, _size, _start_index, find_edge(), i, MST::mst(), MST::mst_count(), Edge::profile(), Edge::set_counter_index(), and Edge::set_profile(). |
|
|
|
|
|
Definition at line 145 of file edge_table.cpp. References _root, _size, _table_filename, _table_fp, Edge::counter_index(), Edge::edge_id(), ETdb, fprintf(), i, proc_name(), Edge::profile(), size(), and Edge::weight(). |
|
|
Definition at line 72 of file src/edge_table.h. Referenced by build(), Edge_Table(), index(), and set_index(). |
|
|
Definition at line 74 of file src/edge_table.h. |
|
|
Definition at line 74 of file include/edge_table.h. Referenced by build(), Edge_Table(), print_to_file(), proc_name(), set_proc_name(), and ~Edge_Table(). |
|
|
Definition at line 71 of file src/edge_table.h. |
|
|
Definition at line 71 of file include/edge_table.h. Referenced by build(), Edge_Table(), find_edge(), print(), print_to_file(), profile_all_edges(), root(), set_root(), update(), write_file(), and ~Edge_Table(). |
|
|
Definition at line 73 of file src/edge_table.h. Referenced by build(), Edge_Table(), find_edge(), print(), print_to_file(), profile_all_edges(), set_size(), size(), update(), and write_file(). |
|
|
Definition at line 77 of file src/edge_table.h. Referenced by Edge_Table(), open_file(), open_new_or_old_file(), profile_all_edges(), set_start_index(), start_index(), and update(). |
|
|
Definition at line 75 of file src/edge_table.h. |
|
|
Definition at line 75 of file include/edge_table.h. Referenced by build(), open_file(), table_filename(), and write_file(). |
|
|
Definition at line 76 of file src/edge_table.h. |
|
|
Definition at line 76 of file include/edge_table.h. Referenced by open_file(), open_new_or_old_file(), set_table_fp(), table_fp(), and write_file(). |
1.3.2