GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
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=0) 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 122 of file profiler.h.
|
private |
Definition at line 152 of file profiler.h.
profile_data_accumulator::tree_node::tree_node | ( | tree_node * | p, |
octave_idx_type | f | ||
) |
Definition at line 58 of file profiler.cc.
|
virtual |
Definition at line 62 of file profiler.cc.
|
private |
|
inline |
Definition at line 129 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 98 of file profiler.cc.
References profile_data_accumulator::stats::calls, parent, profile_data_accumulator::stats::parents, profile_data_accumulator::stats::recursive, 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 69 of file profiler.cc.
References calls.
Referenced by profile_data_accumulator::enter_function().
profile_data_accumulator::tree_node * profile_data_accumulator::tree_node::exit | ( | octave_idx_type | ) |
Definition at line 87 of file profiler.cc.
Referenced by profile_data_accumulator::exit_function().
octave_value profile_data_accumulator::tree_node::get_hierarchical | ( | double * | total = 0 | ) | const |
Definition at line 131 of file profiler.cc.
References octave_map::assign(), calls, get_hierarchical(), octave_value(), and time.
Referenced by profile_data_accumulator::get_hierarchical(), and get_hierarchical().
|
private |
Definition at line 158 of file profiler.h.
Referenced by enter(), and get_hierarchical().
|
private |
Definition at line 153 of file profiler.h.
|
private |
Definition at line 150 of file profiler.h.
|
private |
Definition at line 149 of file profiler.h.
Referenced by build_flat().
|
private |
Definition at line 156 of file profiler.h.
Referenced by get_hierarchical().