Ardour  9.0-pre0-350-gf17a656217
PBD::TimerRAII Class Reference

#include <timing.h>

Public Member Functions

 TimerRAII (TimingStats &ts, bool dbg=false)
 
 ~TimerRAII ()
 

Public Attributes

TimingStatsstats
 

Detailed Description

Provides an exception (and return path)-safe method to measure a timer interval. The timer is started at scope entry, and updated at scope exit (however that occurs)

Definition at line 230 of file timing.h.

Constructor & Destructor Documentation

◆ TimerRAII()

PBD::TimerRAII::TimerRAII ( TimingStats ts,
bool  dbg = false 
)
inline

Definition at line 233 of file timing.h.

◆ ~TimerRAII()

PBD::TimerRAII::~TimerRAII ( )
inline

Definition at line 234 of file timing.h.

Member Data Documentation

◆ stats

TimingStats& PBD::TimerRAII::stats

Definition at line 235 of file timing.h.


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