Public Member Functions | |
tree_node (tree_node *, octave_idx_type) | |
virtual | ~tree_node () |
void | add_time (double dt) |
void | build_flat (flat_profile &) const |
tree_node * | enter (octave_idx_type) |
tree_node * | exit (octave_idx_type) |
octave_value | get_hierarchical (double *total=NULL) const |
Private Types | |
typedef std::map < octave_idx_type, tree_node * > | child_map |
Private Member Functions | |
tree_node (const tree_node &) | |
tree_node & | operator= (const tree_node &) |
Private Attributes | |
unsigned | calls |
child_map | children |
octave_idx_type | fcn_id |
tree_node * | parent |
double | time |
Definition at line 98 of file profiler.h.
typedef std::map<octave_idx_type, tree_node*> profile_data_accumulator::tree_node::child_map [private] |
Definition at line 128 of file profiler.h.
profile_data_accumulator::tree_node::tree_node | ( | tree_node * | p, | |
octave_idx_type | f | |||
) |
Definition at line 76 of file profiler.cc.
Referenced by enter().
profile_data_accumulator::tree_node::~tree_node | ( | ) | [virtual] |
Definition at line 80 of file profiler.cc.
References children.
profile_data_accumulator::tree_node::tree_node | ( | const tree_node & | ) | [private] |
void profile_data_accumulator::tree_node::add_time | ( | double | dt | ) | [inline] |
Definition at line 105 of file profiler.h.
Referenced by profile_data_accumulator::add_current_time().
void profile_data_accumulator::tree_node::build_flat | ( | flat_profile & | data | ) | const |
Definition at line 114 of file profiler.cc.
References calls, profile_data_accumulator::stats::calls, children, fcn_id, parent, profile_data_accumulator::stats::parents, profile_data_accumulator::stats::recursive, time, and profile_data_accumulator::stats::time.
Referenced by profile_data_accumulator::get_flat().
profile_data_accumulator::tree_node * profile_data_accumulator::tree_node::enter | ( | octave_idx_type | fcn | ) |
Definition at line 87 of file profiler.cc.
References calls, children, and tree_node().
Referenced by profile_data_accumulator::enter_function().
profile_data_accumulator::tree_node * profile_data_accumulator::tree_node::exit | ( | octave_idx_type | fcn | ) |
Definition at line 105 of file profiler.cc.
References fcn_id, and parent.
Referenced by profile_data_accumulator::exit_function().
octave_value profile_data_accumulator::tree_node::get_hierarchical | ( | double * | total = NULL |
) | const |
Definition at line 147 of file profiler.cc.
References octave_map::assign(), calls, children, get_hierarchical(), octave_value(), and time.
Referenced by profile_data_accumulator::get_hierarchical(), and get_hierarchical().
unsigned profile_data_accumulator::tree_node::calls [private] |
Definition at line 134 of file profiler.h.
Referenced by build_flat(), enter(), and get_hierarchical().
Definition at line 129 of file profiler.h.
Referenced by build_flat(), enter(), get_hierarchical(), and ~tree_node().
Definition at line 126 of file profiler.h.
Referenced by build_flat(), and exit().
Definition at line 125 of file profiler.h.
Referenced by build_flat(), and exit().
Definition at line 132 of file profiler.h.
Referenced by build_flat(), and get_hierarchical().