GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
profiler Class Reference

#include "profiler.h"

Classes

class  enter
 

Public Member Functions

 profiler ()
 
virtual ~profiler ()
 
bool enabled () const
 
octave_value get_flat () const
 
octave_value get_hierarchical () const
 
void reset ()
 
void set_active (bool)
 

Detailed Description

Definition at line 41 of file profiler.h.

Constructor & Destructor Documentation

◆ profiler()

profiler::profiler ( )

Definition at line 175 of file profiler.cc.

◆ ~profiler()

profiler::~profiler ( )
virtual

Definition at line 181 of file profiler.cc.

Member Function Documentation

◆ enabled()

bool profiler::enabled ( ) const
inline

Definition at line 94 of file profiler.h.

Referenced by profiler::enter< T >::enter(), F__profiler_enable__(), and reset().

◆ get_flat()

octave_value profiler::get_flat ( ) const

Definition at line 275 of file profiler.cc.

References m, n, and octave_value().

Referenced by F__profiler_data__().

◆ get_hierarchical()

octave_value profiler::get_hierarchical ( ) const

Definition at line 337 of file profiler.cc.

References m.

Referenced by F__profiler_data__().

◆ reset()

void profiler::reset ( )

Definition at line 256 of file profiler.cc.

References enabled(), and error().

Referenced by F__profiler_reset__().

◆ set_active()

void profiler::set_active ( bool  value)

Definition at line 187 of file profiler.cc.

Referenced by F__profiler_enable__().


The documentation for this class was generated from the following files: