24 #if ! defined (octave_profiler_h) 25 #define octave_profiler_h 1 27 #include "octave-config.h" 47 template <
typename T>
class enter 60 m_enabled = m_profiler.
enabled ();
64 m_fcn =
t.profiler_name ();
100 bool enabled (
void)
const {
return m_enabled; }
101 void set_active (
bool);
164 octave_value get_hierarchical (
double *total =
nullptr)
const;
171 typedef std::map<octave_idx_type, tree_node*>
child_map;
207 double query_time (
void)
const;
212 void add_current_time (
void);
void exit_function(const std::string &)
std::vector< stats > flat_profile
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
std::map< std::string, octave_idx_type > fcn_index_map
function_set m_known_functions
std::vector< std::string > function_set
enter(profiler &p, const T &t)
fcn_index_map m_fcn_index
void enter_function(const std::string &)
std::set< octave_idx_type > function_set
std::map< octave_idx_type, tree_node * > child_map
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string