GCC Middle and Back End API Reference
auto_timevar Class Reference

#include <timevar.h>

Collaboration diagram for auto_timevar:

Public Member Functions

 auto_timevar (timer *t, timevar_id_t tv)
 
 auto_timevar (timevar_id_t tv)
 
 ~auto_timevar ()
 
 auto_timevar (const auto_timevar &)=delete
 

Private Attributes

timerm_timer
 
timevar_id_t m_tv
 

Constructor & Destructor Documentation

◆ auto_timevar() [1/3]

auto_timevar::auto_timevar ( timer * t,
timevar_id_t tv )
inline

References m_timer, m_tv, and timer::push().

◆ auto_timevar() [2/3]

auto_timevar::auto_timevar ( timevar_id_t tv)
inlineexplicit

References m_timer, m_tv, and timer::push().

◆ ~auto_timevar()

auto_timevar::~auto_timevar ( )
inline

References m_timer, m_tv, and timer::pop().

◆ auto_timevar() [3/3]

auto_timevar::auto_timevar ( const auto_timevar & )
delete

Field Documentation

◆ m_timer

timer* auto_timevar::m_timer
private

◆ m_tv

timevar_id_t auto_timevar::m_tv
private

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