GCC Middle and Back End API Reference
auto_cond_timevar Class Reference

#include <timevar.h>

Collaboration diagram for auto_cond_timevar:

Public Member Functions

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

Private Member Functions

void start ()
 

Private Attributes

timerm_timer
 
timevar_id_t m_tv
 
bool already_running
 

Constructor & Destructor Documentation

◆ auto_cond_timevar() [1/3]

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

References start().

◆ auto_cond_timevar() [2/3]

auto_cond_timevar::auto_cond_timevar ( timevar_id_t tv)
inlineexplicit

References start().

◆ ~auto_cond_timevar()

auto_cond_timevar::~auto_cond_timevar ( )
inline

◆ auto_cond_timevar() [3/3]

auto_cond_timevar::auto_cond_timevar ( const auto_cond_timevar & )
delete

Member Function Documentation

◆ start()

void auto_cond_timevar::start ( )
inlineprivate

Field Documentation

◆ already_running

bool auto_cond_timevar::already_running
private

Referenced by start(), and ~auto_cond_timevar().

◆ m_timer

timer* auto_cond_timevar::m_timer
private

Referenced by start(), and ~auto_cond_timevar().

◆ m_tv

timevar_id_t auto_cond_timevar::m_tv
private

Referenced by start(), and ~auto_cond_timevar().


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