Itoyori  v0.0.1
ityr::common::profiler::profiler< Mode > Class Template Reference

#include <profiler.hpp>

Public Member Functions

 profiler ()
 
void add (event *e)
 
void begin ()
 
void end ()
 
void flush ()
 
profiler_stateget_state ()
 
template<typename PhaseFrom , typename PhaseTo >
void switch_phase ()
 

Constructor & Destructor Documentation

◆ profiler()

template<typename Mode >
ityr::common::profiler::profiler< Mode >::profiler ( )
inline

Member Function Documentation

◆ add()

template<typename Mode >
void ityr::common::profiler::profiler< Mode >::add ( event e)
inline

◆ begin()

template<typename Mode >
void ityr::common::profiler::profiler< Mode >::begin ( )
inline

◆ end()

template<typename Mode >
void ityr::common::profiler::profiler< Mode >::end ( )
inline

◆ flush()

template<typename Mode >
void ityr::common::profiler::profiler< Mode >::flush ( )
inline

◆ get_state()

template<typename Mode >
profiler_state& ityr::common::profiler::profiler< Mode >::get_state ( )
inline

◆ switch_phase()

template<typename Mode >
template<typename PhaseFrom , typename PhaseTo >
void ityr::common::profiler::profiler< Mode >::switch_phase ( )
inline

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