GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::profiler::enter< T > Class Template Reference

#include "profiler.h"

Collaboration diagram for octave::profiler::enter< T >:

Public Member Functions

 enter (const enter &)=delete
 
 enter (profiler &p, const T &t)
 
 ~enter (void)
 
enteroperator= (const enter &)=delete
 

Private Attributes

bool m_enabled
 
std::string m_fcn
 
profilerm_profiler
 

Detailed Description

template<typename T>
class octave::profiler::enter< T >

Definition at line 49 of file profiler.h.

Constructor & Destructor Documentation

◆ enter() [1/2]

template<typename T >
octave::profiler::enter< T >::enter ( profiler p,
const T &  t 
)
inline

Definition at line 59 of file profiler.h.

References octave::profiler::enabled(), and octave::profiler::enter_function().

◆ enter() [2/2]

template<typename T >
octave::profiler::enter< T >::enter ( const enter< T > &  )
delete

◆ ~enter()

template<typename T >
octave::profiler::enter< T >::~enter ( void  )
inline

Definition at line 85 of file profiler.h.

References octave::profiler::exit_function().

Member Function Documentation

◆ operator=()

template<typename T >
enter& octave::profiler::enter< T >::operator= ( const enter< T > &  )
delete

Member Data Documentation

◆ m_enabled

template<typename T >
bool octave::profiler::enter< T >::m_enabled
private

Definition at line 55 of file profiler.h.

◆ m_fcn

template<typename T >
std::string octave::profiler::enter< T >::m_fcn
private

Definition at line 54 of file profiler.h.

◆ m_profiler

template<typename T >
profiler& octave::profiler::enter< T >::m_profiler
private

Definition at line 53 of file profiler.h.


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